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

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