OFFSET
1,4
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10945
Rémy Sigrist, PARI program
Rémy Sigrist, Scatterplot of the first 832039 terms
FORMULA
T(n, 1) = 1.
T(n, 2) = A001611(n-1) for n > 2.
EXAMPLE
Table begins:
1,
1,
1, 2,
1, 3, 2,
1, 4, 3, 5, 2,
1, 6, 5, 8, 3, 7, 2, 4,
1, 9, 7, 13, 5, 11, 8, 10, 3, 12, 2, 6, 4,
...
For n = 7:
- terms in rows 6 and 5 are: 1, 6, 5, 8, 3, 7, 2, 4, 1, 4, 3, 5, 2,
- positions of 1's are: 1, 9,
- positions of 2's are: 7, 13,
- positions of 3's are: 5, 11,
- positions of 4's are: 8, 10,
- positions of 5's are: 3, 12,
- positions of 6's are: 2,
- positions of 7's are: 6,
- positions of 8's are: 4,
- so row 7 is: 1, 9, 7, 13, 5, 11, 8, 10, 3, 12, 2, 6, 4.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Rémy Sigrist, Oct 30 2022
STATUS
approved