login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Sequence in context: A346401 A230498 A260747 * A049745 A332512 A304006
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, May 15 1998
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 26 12:49 EDT 2023. Contains 365660 sequences. (Running on oeis4.)