|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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.
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|