login
A359051
Irregular table T(n, k), n > 0, k = 1..A000010(n); the n-th row lists the numbers k such that fusc(k) + fusc(k+1) = n, where "fusc" is Stern's diatomic series (A002487).
1
0, 1, 2, 3, 4, 7, 5, 6, 8, 15, 16, 31, 9, 11, 12, 14, 32, 63, 10, 13, 64, 127, 17, 23, 24, 30, 128, 255, 19, 28, 256, 511, 18, 20, 27, 29, 33, 47, 48, 62, 512, 1023, 22, 25, 1024, 2047, 21, 26, 35, 39, 56, 60, 65, 95, 96, 126, 2048, 4095, 34, 40, 55, 61, 4096, 8191
OFFSET
1,3
COMMENTS
Every nonnegative integer m appears in this sequence (in row fusc(m) + fusc(m+1)).
FORMULA
T(n, 1) = A359050(n).
T(n, A000010(n)) = 2^(n-1) - 1.
EXAMPLE
Array T(n, k) begins:
0,
1,
2, 3,
4, 7,
5, 6, 8, 15,
16, 31,
9, 11, 12, 14, 32, 63,
10, 13, 64, 127,
17, 23, 24, 30, 128, 255,
19, 28, 256, 511,
18, 20, 27, 29, 33, 47, 48, 62, 512, 1023,
22, 25, 1024, 2047,
...
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Rémy Sigrist, Dec 14 2022
STATUS
approved