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!)
A231596 Total number of 7's digits in primes less than 10^n. 0
1, 9, 78, 652, 6172, 58327, 560506, 5443074, 53152746, 521422184, 5132090751, 50642752951, 500714890907, 4958432528817 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(2)=9, since there are 9 7's in primes less than 100. Namely: 7, 17, 37, 47, 67, 71, 73, 79, 97.
MATHEMATICA
Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 7, 2], {n, 7}] (* Robert Price, Jun 16 2019 *)
CROSSREFS
Sequence in context: A124131 A000445 A046196 * A350428 A190980 A254657
KEYWORD
more,nonn,base
AUTHOR
Robert Price, Nov 11 2013
EXTENSIONS
a(14) from Giovanni Resta, Jul 20 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 12:09 EDT 2024. Contains 372736 sequences. (Running on oeis4.)