[go: up one dir, main page]

login
A157139
Odd numbers n with equal number of odd digits in n and n-th prime.
0
3, 9, 11, 17, 23, 31, 35, 39, 49, 51, 55, 59, 61, 73, 77, 87, 89, 95, 97, 99, 101, 103, 107, 123, 125, 127, 129, 131, 133, 137, 139, 141, 147, 149, 157, 159, 161, 163, 169, 171, 173, 175, 177, 181, 195, 199, 235, 237, 253, 257, 279, 305, 309, 319, 323, 341, 343
OFFSET
1,1
COMMENTS
Odd digits are 1, 3, 5, 7 or 9.
MATHEMATICA
Select[Range[1, 401, 2], Count[IntegerDigits[#], _?OddQ]==Count[ IntegerDigits[ Prime[#]], _?OddQ]&] (* Harvey P. Dale, Sep 25 2020 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
EXTENSIONS
Corrected (105 replaced by 103, 305 inserted) by R. J. Mathar, May 15 2010
STATUS
approved