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

Palindromic numbers containing one or more odd digits.
1

%I #10 May 24 2021 17:20:09

%S 1,3,5,7,9,11,33,55,77,99,101,111,121,131,141,151,161,171,181,191,212,

%T 232,252,272,292,303,313,323,333,343,353,363,373,383,393,414,434,454,

%U 474,494,505,515,525,535,545,555,565,575,585,595,616,636,656,676,696

%N Palindromic numbers containing one or more odd digits.

%C Begins to differ from the odd palindromic numbers, A029950, in the 21st term.

%H Harvey P. Dale, <a href="/A092361/b092361.txt">Table of n, a(n) for n = 1..1000</a>

%e a(21) = 212 because it is the 21st palindromic number with an odd digit, the first even one

%t Select[Range[1000],PalindromeQ[#]&&AnyTrue[IntegerDigits[#],OddQ]&] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, May 24 2021 *)

%Y Cf. A029950, A011539.

%K easy,nonn,base

%O 1,2

%A _Michael Joseph Halm_, Mar 19 2004

%E Corrected and definition clarified by _Harvey P. Dale_, May 24 2021