[go: up one dir, main page]

login
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