OFFSET
1,3
COMMENTS
The term a(n) tells from which position (one-based, starting from the left hand end of permutation) of the corresponding permutation in A030298 the term A030298(n) should be picked from. Use this (instead of A220663) with programming languages like Maple, which use one-based indexing of arrays and vectors.
LINKS
A. Karttunen, Rows 1..998 of the irregular table, flattened.
FORMULA
a(n) = A220663(n)+1.
EXAMPLE
Rows of this irregular table begin as:
1;
1, 2;
1, 2;
1, 2, 3;
1, 2, 3;
...
MATHEMATICA
Flatten[Table[Table[Range[n], n!], {n, 4}]] (* Harvey P. Dale, Aug 25 2022 *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Antti Karttunen, Dec 18 2012
STATUS
approved