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!)
A231590 Total number of 1's digits in primes less than 10^n. 10
0, 9, 78, 681, 6353, 59634, 570157, 5510645, 53680317, 525651276, 5166809159, 50931212973, 503152799893, 4979293536415 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(2)=9, since there are 9 1's in primes less than 100. Namely: 11, 13, 17, 19, 31, 41, 61, 71. Note that 11 counts for two.
MATHEMATICA
Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 1, 2], {n, 7}] (* Robert Price, Jun 16 2019 *)
CROSSREFS
Sequence in context: A350428 A190980 A254657 * A240797 A279683 A123918
KEYWORD
nonn,base,more
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 September 5 13:20 EDT 2024. Contains 375696 sequences. (Running on oeis4.)