|
|
A032693
|
|
Exactly 3 digits from {1,2,3,4,5,6,7,8,9} can precede a term to form a prime.
|
|
1
|
|
|
13, 21, 23, 29, 33, 37, 43, 49, 51, 59, 61, 69, 71, 79, 81, 93, 99, 101, 103, 111, 113, 121, 127, 133, 137, 161, 163, 167, 171, 179, 181, 211, 213, 219, 253, 257, 259, 269, 271, 277, 281, 287, 293, 301, 307, 309, 319, 329, 333, 337, 343, 347, 349, 351, 361
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
For term 333, we find '2'333, '5'333 and '7'333 to be primes.
|
|
PROG
|
(Python)
from sympy import isprime
print([i for i in range(400) if [isprime(int(j + str(i))) for j in '123456789'].count(True) == 3]) # Daniel Starodubtsev, Apr 06 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|