|
|
A323064
|
|
Squares whose binary complement (A035327) is a cube.
|
|
0
|
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Square roots: 0, 1, 6, 10, 22, 362.
|
|
LINKS
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|