OFFSET
0,3
COMMENTS
As a flat sequence, this is a permutation of the nonnegative integers (as each row starts with the least value not yet in the sequence); see A365233 for the inverse.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10010 (rows for n = 0..140 flattened)
Rémy Sigrist, PARI program
EXAMPLE
Triangle T(n, k) begins:
0;
1, 3;
2, 5, 6;
4, 7, 10, 12;
8, 9, 11, 13, 14;
15, 17, 18, 20, 24, 31;
16, 19, 22, 21, 25, 47, 23;
26, 27, 30, 28, 29, 63, 48, 58;
32, 33, 34, 36, 40, 79, 49, 59, 35;
37, 39, 38, 44, 41, 95, 50, 62, 42, 45;
.......................................
T(k, 0) 0 1 2 4 8 15 16 26 32 37
PROG
(PARI) See Links section.
CROSSREFS
AUTHOR
Rémy Sigrist, Aug 27 2023
STATUS
approved