login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A127916
Number of n-digit palindromes in bases 2 and 10. Also difference of A120764(n).
0
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
OFFSET
1,1
EXAMPLE
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.
CROSSREFS
Sequence in context: A300892 A291359 A055942 * A165063 A307234 A371875
KEYWORD
base,nonn
AUTHOR
Anton Chupin (chupin(AT)icmm.ru), Apr 08 2007
STATUS
approved