login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A228416 Count of the first 10^n primes which do not contain the digit 4. 0
1, 10, 75, 721, 6637, 60605, 514809, 4730382, 43254591, 392344689, 3421561753, 31049600245 (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) = 10 since there are 10 primes in the first 10 (through 29) that do not contain a 4.  Namely: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29.

MATHEMATICA

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

CROSSREFS

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

Sequence in context: A238987 A271476 A025015 * A049392 A136869 A108277

Adjacent sequences:  A228413 A228414 A228415 * A228417 A228418 A228419

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 December 3 12:16 EST 2021. Contains 349462 sequences. (Running on oeis4.)