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”).

A043051
a(n)=(s(n)+3)/5, where s(n)=n-th base 5 palindrome that starts with 2.
0
1, 3, 11, 12, 13, 14, 15, 51, 57, 63, 69, 75, 251, 256, 261, 266, 271, 277, 282, 287, 292, 297, 303, 308, 313, 318, 323, 329, 334, 339, 344, 349, 355, 360, 365, 370, 375, 1251, 1281, 1311, 1341, 1371, 1377, 1407, 1437, 1467, 1497
OFFSET
1,2
MATHEMATICA
pal5Q[n_]:=Module[{idn5=IntegerDigits[n, 5]}, idn5==Reverse[idn5]&&First[idn5]==2]
(#+3)/5&/@Select[Range[9000], pal5Q] (* Harvey P. Dale, Feb 13 2011 *)
CROSSREFS
Sequence in context: A072980 A128500 A365037 * A024545 A101134 A045110
KEYWORD
nonn,base
STATUS
approved