A092361 Palindromic numbers containing one or more odd digits.
1, 3, 5, 7, 9, 11, 33, 55, 77, 99, 101, 111, 121, 131, 141, 151, 161, 171, 181, 191, 212, 232, 252, 272, 292, 303, 313, 323, 333, 343, 353, 363, 373, 383, 393, 414, 434, 454, 474, 494, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 616, 636, 656, 676, 696
Offset: 1
Examples
a(21) = 212 because it is the 21st palindromic number with an odd digit, the first even one
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[Range[1000],PalindromeQ[#]&&AnyTrue[IntegerDigits[#],OddQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 24 2021 *)
Extensions
Corrected and definition clarified by Harvey P. Dale, May 24 2021
Comments