login
A156200
Primes that contain all the digits {0,6,8,9} and only these digits.
2
6089, 8069, 8609, 60089, 60689, 60869, 60889, 60899, 66089, 66809, 68099, 68909, 69809, 80669, 86069, 88069, 88609, 89069, 600689, 600889, 606899, 608089, 608099, 608609, 608669, 608899, 608989, 608999, 609809, 609989, 660809, 660899, 666089
OFFSET
1,1
PROG
(Python)
from itertools import product
from gmpy2 import is_prime
A156200_list = [int(''.join(d)) for l in range(4, 10) for d in product('0689', repeat=l) if d[0] != '0' and len(set(d)) == 4 and is_prime(int(''.join(d)))] # Chai Wah Wu, Aug 13 2015
CROSSREFS
Cf. A053580 properly contains this sequence.
Sequence in context: A031576 A204966 A252329 * A236824 A211929 A251994
KEYWORD
nonn,base
AUTHOR
Ki Punches, Feb 05 2009
EXTENSIONS
Edited and corrected by Ray Chandler, Feb 08 2009
STATUS
approved