VOOZH
about
URL: https://oeis.org/A228420
⇱ A228420 - OEIS
login
A228420
Count of the first 10^n primes which do not contain the digit 8.
0
1, 10, 92, 816, 6712, 60867, 555878, 5026796, 43410238, 395243878, 3576361255, 32461990759, 282971130960
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,2
LINKS
Table of n, a(n) for n=1..13.
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 8. Namely: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29.
MATHEMATICA
Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 8] == 0 &]], {n, 0, 5}] (*
Robert Price
, Mar 23 2020 *)
CROSSREFS
Cf.
A231412
,
A228413
-
A228421
,
A097952
,
A091634
-
A091643
.
Sequence in context:
A227513
A052266
A027325
*
A037534
A120996
A190990
Adjacent sequences:
A228417
A228418
A228419
*
A228421
A228422
A228423
KEYWORD
more
,
nonn
,
base
,
hard
AUTHOR
Robert Price
, Nov 09 2013
EXTENSIONS
a(12) from
Lucas A. Brown
, Mar 19 2024
STATUS
approved