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.

A373294 a(n) is the number of n-digit primes that have at least one zero among their digits (A056709).

This page as a plain text file.
%I A373294 #22 Jun 01 2024 06:21:40
%S A373294 0,0,15,204,2251,23715,240528,2391394,23540109,230318080,2244729936,
%T A373294 21819401038,211711461260,2051836712085
%N A373294 a(n) is the number of n-digit primes that have at least one zero among their digits (A056709).
%F A373294 a(n) = A091644(n) - A091644(n-1) for n > 1. - _Michael S. Branicky_, May 31 2024
%e A373294 For n = 3, the 3-digit prime numbers that have the digit 0 are 101, 103, 107, 109, 307, 401, 409, 503, 509, 601, 607, 701, 709, 809 and 907. Therefore, a(3) = 15.
%o A373294 (PARI) a(n) = my(s=0); forprime(p=10^(n-1), 10^n-1, if (vecmin(digits(p)) == 0, s++)); s; \\ _Michel Marcus_, May 31 2024
%Y A373294 First differences of A091644.
%Y A373294 Cf. A000040, A006879, A056709.
%K A373294 nonn,base,more
%O A373294 1,3
%A A373294 _Gonzalo Martínez_, May 30 2024
%E A373294 More terms (using A091644) from _Michael S. Branicky_, May 30 2024