[go: up one dir, main page]

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!)
A373448 10^n-th binary palindrome. 1
0, 27, 2313, 249903, 24183069, 2258634081, 249410097687, 24350854001805, 2229543293296319, 248640535848971067, 24502928886295666773, 2255382216082613264687, 247524358984342778844555, 24637651997205933916917957, 2280497169597819727642768343, 246037303364254649637740936547 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
a(n) = A006995(10^n).
LINKS
PROG
(Python)
def A373448(n):
if n == 0: return 0
k = 10**n
a = 1<<(l:=k.bit_length()-2)
m = a|(k&a-1)
return (m<<l+1)+int(bin(m)[:1:-1]or'0', 2) if a&k else (m<<l)+int(bin(m)[-2:1:-1]or'0', 2)
(PARI) a(n) = A006995(10^n); \\ using A006995 PARI program; Michel Marcus, Jun 16 2024
CROSSREFS
Sequence in context: A366181 A272630 A060629 * A287228 A086206 A323314
KEYWORD
nonn,base
AUTHOR
Chai Wah Wu, Jun 14 2024
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 29 00:59 EDT 2024. Contains 375508 sequences. (Running on oeis4.)