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!)
A228417 Count of the first 10^n primes which do not contain the digit 5. 0
1, 9, 85, 708, 6635, 60640, 535534, 4737129, 43297195, 392641522, 3536880527, 31067514571 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..11.

FORMULA

a(n) <= 9^n. - Charles R Greathouse IV, May 21 2014

EXAMPLE

a(1) = 9 since there are 9 primes in the first 10 (through 29) that do not contain a 5.  Namely: 2, 3, 7, 11, 13, 17, 19, 23, 29.

MATHEMATICA

Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 5] == 0 &]], {n, 0, 5}] (* Robert Price, Mar 23 2020 *)

CROSSREFS

Cf. A231412, A228413-A228421, A097952, A091634-A091643.

Sequence in context: A197197 A295118 A339550 * A015580 A163308 A160112

Adjacent sequences:  A228414 A228415 A228416 * A228418 A228419 A228420

KEYWORD

more,nonn,base

AUTHOR

Robert Price, Nov 09 2013

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 19 22:04 EST 2022. Contains 350466 sequences. (Running on oeis4.)