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!)
A231591 Total number of 2's digits in primes less than 10^n. 0
1, 3, 32, 391, 3906, 39572, 400626, 4047829, 40794211, 410514052, 4126066282, 41436122092, 415853103290, 4171375888398 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(2)=3, since there are 3 2's in primes less than 100. Namely: 2, 23, 29.
MATHEMATICA
Table[Count[IntegerDigits[Prime[Range[PrimePi[10^n - 1]]]], 2, 2], {n, 7}] (* Robert Price, Jun 16 2019 *)
CROSSREFS
Sequence in context: A091705 A137215 A300366 * A123336 A058479 A264334
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 April 23 10:07 EDT 2024. Contains 371905 sequences. (Running on oeis4.)