The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A032684 Numbers k such that k surrounded by digit '7' is prime. 5
2, 5, 8, 9, 12, 17, 18, 20, 23, 24, 29, 30, 41, 45, 47, 48, 50, 51, 53, 54, 57, 60, 68, 71, 72, 75, 81, 86, 87, 90, 92, 93, 114, 116, 123, 125, 128, 131, 132, 134, 138, 143, 152, 153, 159, 164, 170, 177, 180, 183, 186, 188, 191, 194, 198, 204, 207 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(Python)
from sympy import isprime
print([i for i in range(200) if isprime(int('7' + str(i) + '7'))]) # Daniel Starodubtsev, Apr 05 2020
CROSSREFS
Cf. A032689.
Sequence in context: A045928 A190768 A184866 * A026448 A258353 A173286
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 May 29 11:49 EDT 2024. Contains 372940 sequences. (Running on oeis4.)