OFFSET
1,2
COMMENTS
See A352938 for the other k's.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..7163 (rows for n = 1..128 flattened)
EXAMPLE
Irregular table T(n, k) begins:
1: [1]
2: [2]
3: [1, 2, 3]
4: [4]
5: [1, 3, 4, 5]
6: [2, 3, 4, 5, 6]
7: [1, 2, 3, 4, 5, 6, 7]
8: [8]
9: [1, 3, 5, 7, 8, 9]
10: [2, 3, 6, 7, 8, 9, 10]
11: [1, 2, 3, 5, 6, 7, 8, 9, 10, 11]
12: [4, 5, 6, 7, 8, 9, 10, 11, 12]
13: [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
14: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
15: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
PROG
(PARI) row(n) = select (k -> bitand(n, k), [1..n])
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Apr 09 2022
STATUS
approved