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!)
A029983 Squares which are palindromes in base 2. 16
0, 1, 9, 20457529, 143784081, 331130809, 20074072489, 1193532215121, 10036851273801, 41413201925481, 155991531977649, 320642706437001, 4665141483989281, 87463589042698969, 152191954834044129 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
Patrick De Geest, Palindromic Squares
G. J. Simmons, On palindromic squares of non-palindromic numbers, J. Rec. Math., 5 (No. 1, 1972), 11-19. [Annotated scanned copy]
PROG
(Python)
from itertools import count, islice
def A029983_gen(): # generator of terms
return filter(lambda k: (s:=bin(k)[2:])[:(t:=(len(s)+1)//2)]==s[:-t-1:-1], (k**2 for k in count(0)))
A029983_list = list(islice(A029983_gen(), 10)) # Chai Wah Wu, Jun 23 2022
CROSSREFS
Cf. A003166.
Sequence in context: A340181 A131678 A229687 * A358814 A225775 A154110
KEYWORD
nonn,base
AUTHOR
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 March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)