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

A182232
Numbers that are palindromic in bases 2 and 5.
17
0, 1, 3, 31, 93, 119, 2709, 38937, 520831, 682341, 340134981, 7609865031, 17935304097, 26777829859, 169179279801, 567897922593, 286118927218753, 2996750083037781, 4738749440161121, 6299497017331917, 8829547069230943
OFFSET
1,3
COMMENTS
Intersection of A006995 and A029952. - Michel Marcus, Oct 08 2014
LINKS
EXAMPLE
2709 base 2 = 101010010101 and 2709 base 5 = 41314.
MATHEMATICA
b1 = 2; b2 = 5; lst = {}; Do[d1 = IntegerDigits[n, b1]; d2 = IntegerDigits[n, b2]; If[d1 == Reverse[d1] && d2 == Reverse[d2], AppendTo[lst, n]], {n, 1000000}]; lst (* T. D. Noe, Apr 19 2012 *)
CROSSREFS
Sequence in context: A137185 A243471 A152417 * A294973 A307711 A077547
KEYWORD
nonn,base
AUTHOR
Alex Ratushnyak, Apr 19 2012
EXTENSIONS
Term 0 prepended by Robert G. Wilson v, Oct 08 2014
a(12)-a(16) from Robert G. Wilson v, Oct 11 2014
a(17)-a(21) and b-file from Ray Chandler, Oct 24 2014
STATUS
approved