login
A075361
a(n) = the n-th prime with sum of decimal digits = n, or 0 if no such number exists.
0
0, 11, 0, 211, 131, 0, 313, 503, 0, 433, 353, 0, 643, 653, 0, 1069, 881, 0, 1693, 2459, 0, 3469, 4289, 0, 6379, 6983, 0, 9883, 9857, 0, 19759, 32999, 0, 49597, 58679, 0, 79867, 89669, 0, 167899, 268979, 0, 467899, 498689, 0, 699697, 799859, 0, 998779, 2499989
OFFSET
1,2
FORMULA
a(3n) = 0.
EXAMPLE
a(7) = 313, 313 is the 7th prime with digit sum 7. The smaller six primes are 7, 43, 61, 151, 223, and 241.
CROSSREFS
Sequence in context: A287468 A110417 A240560 * A082258 A287630 A073864
KEYWORD
nonn,base,less
AUTHOR
Amarnath Murthy, Sep 19 2002
EXTENSIONS
More terms from David Wasserman, Jan 16 2005
a(7) corrected by Sean A. Irvine, Feb 16 2025
STATUS
approved