login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

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

Daniel Starodubtsev, Table of n, a(n) for n = 1..10000

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: A166656 A230498 A260747 * A049745 A332512 A304006

Adjacent sequences:  A032690 A032691 A032692 * A032694 A032695 A032696

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 19 01:11 EST 2021. Contains 340262 sequences. (Running on oeis4.)