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!)
 A046719 Total number of digits in all primes with n digits. 1
 4, 42, 429, 4244, 41815, 413436, 4102567, 40775008, 405774711, 4042049770, 40293025322, 401878286460, 4009949122673, 40024266995482, 399594430078005, 3990300329780096, 39853419882545236, 398095148341559286, 3977036546783471193 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE There are 21 2-digit primes, so a(2)=2*21=42. MATHEMATICA Flatten[Table[n*Differences[PrimePi[{10^(n - 1), 10^n}]], {n, 13}]] (* Jayanta Basu, Jun 27 2013 *) With[{nn=14}, Differences[PrimePi[10^Range[0, nn]]]*Range[nn]] (* This program generates only the first 14 terms of the sequence; Mathematica's PrimePi function cannot generate the 15th or higher terms *) (* Harvey P. Dale, Apr 22 2016 *) CROSSREFS a(n)=n*b(n) where b(n) is A006879. Sequence in context: A037296 A213103 A085954 * A092800 A268542 A249928 Adjacent sequences:  A046716 A046717 A046718 * A046720 A046721 A046722 KEYWORD nonn,base AUTHOR EXTENSIONS Corrected by Jud McCranie and N. J. A. Sloane. 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 February 25 18:40 EST 2020. Contains 332256 sequences. (Running on oeis4.)