A156200 Primes that contain all the digits {0,6,8,9} and only these digits.
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
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..6658
Crossrefs
Cf. A053580 properly contains this sequence.
Programs
-
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
Extensions
Edited and corrected by Ray Chandler, Feb 08 2009