OFFSET
1,2
COMMENTS
As a flat sequence, this is a permutation of the positive integers (as each row starts with the least value not yet in the sequence); see A365231 for the inverse.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10011 (rows for n = 1..141 flattened)
Rémy Sigrist, PARI program
EXAMPLE
Triangle T(n, k) begins:
1;
2, 4;
3, 6, 9;
5, 8, 12, 10;
7, 14, 15, 20, 21;
11, 16, 18, 25, 28, 22;
13, 24, 27, 30, 35, 33, 26;
17, 32, 36, 40, 42, 44, 39, 34;
19, 38, 45, 50, 49, 55, 52, 51, 57;
...................................
T(k, 1) 1 2 3 5 7 11 13 17 19
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Rémy Sigrist, Aug 27 2023
STATUS
approved