login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A272711 Square numbers whose binary reversal is also square. 2
1, 4, 9, 16, 36, 64, 144, 256, 576, 1024, 2304, 4096, 9216, 16384, 36864, 65536, 147456, 262144, 589824, 1048576, 2359296, 4194304, 9437184, 16777216, 20457529, 37748736, 67108864, 81830116, 143784081, 150994944, 268435456, 327320464, 331130809, 575136324, 603979776 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The first term in this sequence whose binary reversal is not 1 or 9 is 20457529 (which is a binary palindrome).
The previous comment means that the sequence does not just contain the squares of numbers in A029744. - R. J. Mathar, May 06 2016
If k is a term, then so is 4*k. - Robert Israel, Jun 06 2023
LINKS
MAPLE
rev:= proc(n) local L, i;
L:= convert(n, base, 2);
add(L[-i]*2^(i-1), i=1..nops(L))
end proc:
select(n -> issqr(rev(n)), [seq(i^2, i=1..100000)]); # Robert Israel, Jun 06 2023
MATHEMATICA
Select[Range[10^5]^2, IntegerQ@ Sqrt@ FromDigits[ Reverse@ IntegerDigits[#, 2], 2] &] (* Giovanni Resta, May 05 2016 *)
PROG
(PARI) lista(nn) = {for (n=1, nn, if (issquare(subst(Polrev(binary(n^2)), x, 2)), print1(n^2, ", ")); ); } \\ Michel Marcus, May 05 2016
CROSSREFS
Cf. A061457 (analogous in base 10).
Sequence in context: A117218 A226076 A357753 * A356880 A018228 A204503
KEYWORD
nonn,base
AUTHOR
Benjamin Przybocki, May 04 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 14 15:00 EDT 2024. Contains 375165 sequences. (Running on oeis4.)