cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A228420 Count of the first 10^n primes which do not contain the digit 8.

This page as a plain text file.
%I A228420 #21 Mar 19 2024 12:28:00
%S A228420 1,10,92,816,6712,60867,555878,5026796,43410238,395243878,3576361255,
%T A228420 32461990759,282971130960
%N A228420 Count of the first 10^n primes which do not contain the digit 8.
%F A228420 a(n) <= 9^n. - _Charles R Greathouse IV_, May 21 2014
%e A228420 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.
%t A228420 Table[Length[Select[Range[10^n], DigitCount[Prime[#], 10, 8] == 0 &]], {n, 0, 5}] (* _Robert Price_, Mar 23 2020 *)
%Y A228420 Cf. A231412, A228413-A228421, A097952, A091634-A091643.
%K A228420 more,nonn,base,hard
%O A228420 1,2
%A A228420 _Robert Price_, Nov 09 2013
%E A228420 a(12) from _Lucas A. Brown_, Mar 19 2024