OFFSET
0,5
COMMENTS
The n-th row has A331532(n) terms, leading term 0 and last term n.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..7118 (rows for n = 0..512)
EXAMPLE
Table begins:
0;
0, 1;
0, 2;
0, 1, 3;
0, 4;
0, 1, 3, 4, 5;
0, 2, 6;
0, 1, 4, 7;
0, 8;
...
PROG
(PARI) row(n) = select(k -> bitand(n^2, k^2)==k^2, [0..n])
CROSSREFS
KEYWORD
nonn,tabf,base
AUTHOR
Rémy Sigrist, Jan 19 2020
STATUS
approved