A061372 Primes having only 0,4,6,8,9 as digits.
89, 409, 449, 499, 809, 4049, 4099, 4409, 4649, 4889, 4909, 4969, 4999, 6089, 6449, 6469, 6689, 6869, 6899, 6949, 8009, 8069, 8089, 8609, 8669, 8689, 8699, 8849, 8969, 8999, 9049, 9649, 9689, 9949, 40009, 40099, 40499, 40609, 40699, 40849, 40949
Offset: 1
Examples
a(5) = 4049 is a prime and 4,0,9 are 0 or composite digits.
Links
- Jason Bard, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[FromDigits/@Tuples[{0,4,6,8,9},5],PrimeQ] (* Harvey P. Dale, May 04 2011 *)
Extensions
More terms from Erich Friedman, May 08 2001
Definition corrected Dec 05 2006
Comments