OFFSET
1,3
COMMENTS
Square roots: 0, 1, 6, 10, 22, 362.
EXAMPLE
The binary complement of 100 is 27. Because 27 is a cube, 100 is in the sequence.
PROG
(PARI) isok(n) = n == 0 || (issquare(n) && ispower(2^(1+logint(n, 2))-1-n, 3))
for (n=0, 500, if (isok(n^2), print1(n^2, ", "))); \\ Michel Marcus, Jan 04 2019
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Alex Ratushnyak, Jan 03 2019
STATUS
approved