The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A054750 Smallest prime number whose digits sum to n-th prime. 8
 2, 3, 5, 7, 29, 67, 89, 199, 599, 2999, 4999, 29989, 59999, 79999, 389999, 989999, 6999899, 8989999, 59899999, 89999999, 289999999, 799999999, 3999998999, 19999997999, 79999999999, 399999998999, 599999899999, 999998999999 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS a(n) >= A051885(A000040(n)). Indices n for which the equality holds are listed in A055019. a(n) >= A046864(n). - Michel Marcus, Nov 01 2015 LINKS Chris Caldwell and G. L. Honaker, Jr., Prime curio for 8999 EXAMPLE E.g. a(7)=89 because 8+9=17 and 17 is the 7th prime. PROG (PARI) a(n) = {my(k=2); my(p=prime(n)); while((sumdigits(k) != prime(n)), k=nextprime(k+1)); k; } \\ Michel Marcus, Nov 01 2015 CROSSREFS Cf. A000040, A067180, A046704, A046704, A046864, A068951, A007605. Sequence in context: A046864 A090712 A082257 * A048404 A052013 A269022 Adjacent sequences:  A054747 A054748 A054749 * A054751 A054752 A054753 KEYWORD base,nonn AUTHOR G. L. Honaker, Jr., Apr 24 2000 EXTENSIONS More terms from Kok Seng Chua (chuaks(AT)ihpc.nus.edu.sg), May 31 2000 Edited and extended by Robert G. Wilson v, Feb 26 2002 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 17 15:38 EDT 2021. Contains 345085 sequences. (Running on oeis4.)