Skip to content

A058986

OEIS Lean4

Sorting by prefix reversal (or “flipping pancakes”). You can only reverse segments that include the initial term of the current permutation; a(n) is the number of reversals that are needed to transform an arbitrary permutation of n letters to the identity permutation.

offset: 1
codomain: ℕ

The OEIS sequence has the tags “hard” and/or “more” and few known values. It is likely that the Lean code is not representing the actual sequence, even though it coincides in the known values.

low confidence
n12345678910111213141516171819
A058986013457891011131415161718192022