OFFSET
0,8
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..9851 (rows n = 0..512)
EXAMPLE
Table begins:
0;
0;
0, 1;
0;
0, 1, 2;
0, 2;
0, 1, 3;
0;
0, 1, 2, 4;
0, 2, 4;
0, 1, 3, 4, 5;
0, 4;
0, 1, 2, 5, 6;
0, 2, 6;
0, 1, 3, 7;
...
MAPLE
T:= n-> sort([{seq(Bits[And](n-k, k), k=0..n)}[]])[]:
seq(T(n), n=0..30); # Alois P. Heinz, Oct 20 2019
PROG
(PARI) row(n) = Set(apply(k -> bitand(n-k, k), [0..n]))
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Oct 20 2019
STATUS
approved