login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Number of n-digit palindromes in bases 2 and 10. Also difference of A120764(n).
0

%I #2 Aug 11 2024 14:41:34

%S 6,2,3,2,6,1,7,1,3,2,4,2,10,1,2,2,7,2,2,3,2,0,4,0,6,1,6,1,5,1,2,0,3

%N Number of n-digit palindromes in bases 2 and 10. Also difference of A120764(n).

%H P. De Geest, <a href="https://www.worldofnumbers.com/nobase10.htm">Palindromic numbers beyond base 10</a>

%H Charlton Harrison, <a href="http://bach.dynet.com/palin/">Binary/Decimal Palindromes</a>

%e Palindromes in bases 2 and 10 are (A007632): 0, 1, 3, 5, 7, 9, 33, 99, 313, 585, 717, 7447, 9009, 15351, 32223... So a(1)=6 one-digit numbers, a(2)=2 two-digit palindromes and so on.

%Y Cf. A120764, A007632.

%K base,nonn

%O 1,1

%A Anton Chupin (chupin(AT)icmm.ru), Apr 08 2007