login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

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

Cf. A096342, A126148, A128547.

Sequence in context: A257762 A224222 A224221 * A087383 A038928 A225504

Adjacent sequences:  A128544 A128545 A128546 * A128548 A128549 A128550

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 26 13:09 EDT 2021. Contains 348267 sequences. (Running on oeis4.)