|
|
A272758
|
|
Perfect powers whose binary reversal is also a perfect power.
|
|
1
|
|
|
1, 4, 8, 9, 16, 27, 32, 36, 64, 128, 144, 216, 256, 512, 576, 1024, 1728, 2048, 2304, 4096, 8192, 9216, 13824, 16384, 32768, 36864, 65536, 110592, 131072, 147456, 262144, 524288, 589824, 884736, 1048576, 2097152, 2359296, 4194304, 7077888, 8388608, 9437184, 16777216
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
The binary expansion of 16=2^4 is 10000, its reversal is 1, a square, so 16 is a term.
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) isp(n) = (n==1) || ispower(n);
isok(n) = isp(n) && isp(subst(Polrev(binary(n)), x, 2)); \\ Michel Marcus, May 06 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|