OFFSET
1,2
COMMENTS
There are more odd palindromes (A328332) less than 10^K than even palindromes (A328333) because odd palindromes begin with 1, 3, 5, 7 or 9 while even palindromes begin only with 2, 4, 6 or 8. - Bernard Schott, Oct 24 2019
LINKS
Philip Mizzi, Table of n, a(n) for n = 1..7110 (terms up to 20000000).
P. De Geest, World!Of Numbers
MATHEMATICA
palindromicQ[n_, b_:10]:=TrueQ[IntegerDigits[n, b]==Reverse[IntegerDigits[n, b]]]; Select[Range[1, 10^4, 2], palindromicQ[#]&&Plus@@Drop[DigitCount[#], {1, 10, 1}]==0&] (* Vincenzo Librandi, Feb 07 2014 *)
Select[Range[1, 949, 2], PalindromeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 15 2017 *)
PROG
(PARI) lista(nn) = {forstep(n=1, nn, 2, if (is_A002113(n), print1(n, ", "))); } \\ Michel Marcus, Feb 06 2014
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset set to 1 and more terms from Michel Marcus, Feb 06 2014
STATUS
approved