Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A161367 Primes such that prime(k)-prime(k-1)+1 is not prime. 0
97, 127, 307, 331, 367, 397, 409, 457, 487, 499, 691, 709, 727, 751, 769, 787, 853, 877, 907, 919, 937, 967, 991, 1117, 1171, 1201, 1361, 1381, 1423, 1447, 1531, 1567, 1579, 1597, 1657, 1693, 1741, 1831, 1861, 1987, 2011, 2053, 2161, 2203, 2221, 2251, 2281, 2371, 2437, 2467 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1)=97 because it is the first prime, prime(k), such that prime(k)-prime(k-1)+1 is not prime: 97-89+1=15, and 15 is not prime.
PROG
(PARI) isok(p) = isprime(p) && !isprime(p-precprime(p-1)+1); \\ Michel Marcus, May 12 2024
CROSSREFS
Cf. A000040 (the prime numbers), A001223 (difference between primes).
Sequence in context: A038133 A144325 A234101 * A216311 A258877 A073076
KEYWORD
nonn
AUTHOR
Leonardo Sznajder, Jun 08 2009
EXTENSIONS
More terms from Michel Marcus, May 12 2024
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 11 05:49 EDT 2024. Contains 375814 sequences. (Running on oeis4.)