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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A259144 Number of n-digit primes whose sum of digits is 7. 1
1, 2, 7, 20, 28, 58, 95, 154, 226, 278, 403, 570, 734, 949, 1200, 1515, 1931, 2328, 2908, 3529, 4196, 5034, 5800, 6870, 7871, 9132, 10574, 12359, 14005, 15871, 17924, 20231, 22505, 25903, 28800, 31532, 34830, 38479, 43334, 48847, 52769, 57173, 61545, 67774, 75186 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Giovanni Resta, Table of n, a(n) for n = 1..100

PROG

(PARI) a(n)=n--; my(A, B, C, D); sum(a=0, n, A=10^n+10^a+1; sum(b=a, n, B=A+10^b; sum(c=b, n, C=B+10^c; sum(d=c, n, D=C+10^d; sum(e=d, n, isprime(D+10^e)))))) \\ Charles R Greathouse IV, Jun 19 2015

CROSSREFS

Cf. A007953, A052221, A062337.

Sequence in context: A035402 A182655 A136907 * A090145 A244307 A270109

Adjacent sequences:  A259141 A259142 A259143 * A259145 A259146 A259147

KEYWORD

nonn,base

AUTHOR

Zak Seidov, Jun 19 2015

EXTENSIONS

More terms from Alois P. Heinz, Jun 19 2015

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 21:17 EDT 2021. Contains 348065 sequences. (Running on oeis4.)