login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A220694
Irregular table: row n (n>=1) consists of numbers 1..A084556(n).
2
1, 1, 2, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4
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.
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 *)
PROG
(Scheme): (define (A220694 n) (+ 1 (A220663 n)))
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Antti Karttunen, Dec 18 2012
STATUS
approved