The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073507 Number of primes == 7 (mod 10) less than 10^n. 4

%I #15 Aug 07 2018 11:20:54

%S 1,6,46,308,2411,19621,166211,1440495,12712314,113764039,1029518337,

%T 9401997000,86516367790

%N Number of primes == 7 (mod 10) less than 10^n.

%C This and the related sequences A073505-A073517 and A006880, A073548-A073565 are included because there is interest in the distribution of primes by their initial or final digits.

%F A073505(n) + A073506(n) + a(n) + A073508(n) + 2 = A006880(n).

%e a(2)=6 because there are 6 primes == 7 (mod 10) less than 10^2. They are 7, 17, 37, 47, 67 and 97.

%t c = 0; k = 7; Do[While[k < 10^n, If[PrimeQ[k], c++ ]; k += 10]; Print[c], {n, 1, 10}]

%Y Cf. A006880, A087632, A073505, A073506, A073508, A073509, A073510, A073511, A073512, A073513, A073514, A073515, A073516, A073517.

%K base,nonn,more

%O 1,2

%A _Shyam Sunder Gupta_, Aug 14 2002

%E Edited by _Robert G. Wilson v_, Oct 03 2002

%E a(10) from _Robert G. Wilson v_, Dec 22 2003

%E a(11)-a(13) from _Giovanni Resta_, Aug 07 2018

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 3 05:44 EDT 2024. Contains 373054 sequences. (Running on oeis4.)