OFFSET
0,2
LINKS
FORMULA
EXAMPLE
For n=0, the permutation with rank 0 in list A060118 is "1" (identity permutation) where 1 is fixed (in a 1-cycle), thus a(0)=1.
For n=1, the permutation with rank 1 in list A060118 is "21" where 1 is in a transposition (a 2-cycle), thus a(1)=2.
For n=3, the permutation with rank 3 in list A060118 is "231" where 1 is in a 3-cycle, thus a(3)=3.
For n=16, the permutation with rank 16 in list A060118 is "3412" (1 is in the other of two disjoint transpositions (1 3) and (2 4)), thus a(16)=2.
For n=44, the permutation with rank 44 in list A060118 is "43251", where 1 is a part of 3-cycle, thus a(44)=3.
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 11 2016
STATUS
approved