[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”).

A215429
Primes of the form (n^2+2)/6 where n^2+1 is prime.
1
3, 17, 43, 67, 113, 523, 2017, 2243, 4817, 8363, 9283, 16433, 17713, 19267, 30817, 56843, 81667, 97283, 141067, 149153, 185153, 203873, 271363, 279073, 329473, 398353, 400417, 455953, 472643, 481667, 513923, 519793, 530443, 549643, 670673, 684113, 746243
OFFSET
1,1
COMMENTS
The corresponding n are in A215248.
LINKS
EXAMPLE
3 is in the sequence because, for n = 4, 4^2 + 1 = 17 and (4^2 + 2)/6 = 3 are primes.
MATHEMATICA
lst={}; Do[ p=n^2+ 1; q=(p+1)/6; If[PrimeQ[p]&&PrimeQ[q], AppendTo[lst, q]], {n, 0, 2500}]; lst
Select[(#+1)/6&/@Select[Range[3000]^2+1, PrimeQ], PrimeQ] (* Harvey P. Dale, May 07 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Aug 10 2012
STATUS
approved