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!)
A128547 Primes p such that p*q-p-q is prime where q=nextprime(p). 5
3, 5, 7, 13, 29, 37, 43, 71, 89, 107, 151, 163, 191, 199, 211, 239, 241, 277, 331, 401, 479, 569, 607, 643, 683, 719, 751, 773, 811, 823, 881, 907, 911, 937, 953, 1087, 1091, 1109, 1117, 1201, 1249, 1289, 1321, 1399, 1439, 1459, 1471, 1597, 1619, 1621, 1657 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
3*5-3-5=7 prime, 5*7-5-7=23 prime etc.
MATHEMATICA
Select[Table[Prime[n], {n, 400}], PrimeQ[#*NextPrime[#] - # - NextPrime[#]] &] (* Vladimir Joseph Stephan Orlovsky, Feb 18 2012 *)
qnpQ[n_]:=Module[{q=NextPrime[n]}, PrimeQ[n*q-n-q]]; Select[Prime[Range[ 500]], qnpQ] (* Harvey P. Dale, Feb 28 2015 *)
CROSSREFS
Sequence in context: A257762 A224222 A224221 * A087383 A038928 A359436
KEYWORD
nonn
AUTHOR
Zak Seidov, Mar 10 2007
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 20 02:39 EDT 2024. Contains 372703 sequences. (Running on oeis4.)