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!)
A228419 Count of the first 10^n primes which do not contain the digit 7. 0
1, 8, 67, 539, 5034, 45549, 416913, 3570781, 32517377, 294828478, 2681147149, 23720397369, 212156228217 (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) = 8 since there are 8 primes in the first 10 (through 29) that do not contain a 7. Namely: 2, 3, 5, 11, 13, 19, 23, 29.
MATHEMATICA
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 7] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)
CROSSREFS
Sequence in context: A343091 A037594 A037685 * A091645 A015574 A370028
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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)