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, 331, 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
EXAMPLE
a(7) = 331, 331 is the 7th prime with digit sum 7. The smaller six primes are 7,43,61,223,241 and 313.
CROSSREFS
Sequence in context: A110417 A240560 A082258 * A287630 A073864 A277560
KEYWORD
nonn,base,less
AUTHOR
Amarnath Murthy, Sep 19 2002
EXTENSIONS
More terms from David Wasserman, Jan 16 2005
STATUS
approved