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!)
A228414 Count of the first 10^n primes which do not contain the digit 2. 0
0, 7, 77, 697, 6497, 55552, 512100, 4710641, 42205969, 341224891, 2787791578, 22971326749, 190650687957 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) < 9^n. - Charles R Greathouse IV, May 21 2014
EXAMPLE
a(1) = 7 since there are 7 primes less than 29 (the 10th prime) that do not contain a 2. Namely: 3, 5, 7, 11, 13, 17, 19.
MATHEMATICA
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 2] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
CROSSREFS
Sequence in context: A268958 A068667 A261741 * A043042 A191465 A229281
KEYWORD
more,nonn,base,hard
AUTHOR
Robert Price, Nov 09 2013
EXTENSIONS
a(12) from Lucas A. Brown, Mar 19 2024
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 July 13 14:24 EDT 2024. Contains 374284 sequences. (Running on oeis4.)