login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A030496
Permutations of 1,2,...,n for n=1,2,3,..., arranged antilexicographically.
11
1, 2, 1, 1, 2, 3, 2, 1, 3, 1, 2, 2, 3, 1, 2, 1, 3, 1, 3, 2, 1, 2, 3, 4, 3, 2, 1, 4, 3, 1, 2, 4, 2, 3, 1, 4, 2, 1, 3, 4, 1, 3, 2, 4, 1, 2, 3, 3, 4, 2, 1, 3, 4, 1, 2, 3, 2, 4, 1, 3, 2, 1, 4, 3, 1, 4, 2, 3, 1, 2, 4, 2, 4, 3, 1, 2, 4, 1, 3, 2, 3, 4, 1, 2, 3, 1, 4, 2, 1, 4
OFFSET
1,2
FORMULA
a(n)=m+1-s(n) where m=MAX{a(k): k<=n} and s=A030298.
CROSSREFS
Cf. A030298.
Sequence in context: A029346 A238902 A329750 * A005794 A280860 A208993
KEYWORD
nonn,tabf
STATUS
approved