[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A162358
The larger member q in a pair of successive primes (p,q) such that p*q+p+q is prime.
1
3, 5, 7, 13, 17, 19, 23, 29, 43, 47, 53, 61, 83, 89, 97, 103, 113, 127, 139, 167, 173, 179, 227, 233, 263, 313, 389, 397, 419, 421, 443, 449, 487, 523, 557, 563, 587, 599, 617, 647, 653, 691, 787, 809, 811, 821, 857, 967, 991, 1021, 1051, 1103, 1117, 1153, 1181
OFFSET
1,1
LINKS
FORMULA
a(n) = A151800(A126148(n)).
EXAMPLE
q=3 is the larger member in (2,3) where 2*3+2+3=11 is prime.
q=5 is the larger member in (3,5) where 3*5+3+5=23 is prime.
MATHEMATICA
lst={}; Do[p=Prime[n]*Prime[n+1]+Prime[n]+Prime[n+1]; If[PrimeQ[p], AppendTo[lst, Prime[n+1]]], {n, 6!}]; lst
Transpose[Select[Partition[Prime[Range[200]], 2, 1], PrimeQ[ Times@@#+ Total[ #]]&]] [[2]] (* Harvey P. Dale, Jan 19 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition rephrased by R. J. Mathar, Sep 11 2009
STATUS
approved