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

A029963
Palindromic in bases 6 and 10.
40
0, 1, 2, 3, 4, 5, 7, 55, 111, 141, 191, 343, 434, 777, 868, 1441, 7667, 7777, 22022, 39893, 74647, 168861, 808808, 909909, 1867681, 3097903, 4232324, 4265624, 4298924, 4516154, 4565654, 4598954, 4849484, 5100015, 5182815, 5400045
OFFSET
1,3
MATHEMATICA
palQ[n_Integer, base_Integer] := Block[{idn = IntegerDigits[n, base]}, idn == Reverse[idn]]; Select[ Range[10^7], palQ[ #, 6] && palQ[ #, 10] &] (* Robert G. Wilson v Sep 30 2004 *)
Select[Range[0, 10^5],
PalindromeQ[#] && # == IntegerReverse[#, 6] &] (* Robert Price, Nov 09 2019 *)
KEYWORD
nonn,base
STATUS
approved