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!)
A242230 Primes p of the form p^2 + q + 1 where p < q are consecutive primes. 2
61, 4561, 9511, 17299, 19471, 26737, 30109, 37447, 49957, 69439, 94561, 196699, 209311, 259603, 317539, 333517, 352249, 414097, 427069, 459013, 678157, 845491, 886429, 943819, 1027189, 1217719, 1410163, 1472587, 1647379, 2165323, 2200777, 2230549, 2603389 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1) = 61 = 7^2 + 11 + 1: 61 is prime, 7 and 11 are consecutive primes.
a(2) = 4561 = 67^2 + 71 + 1: 4561 is prime, 67 and 71 are consecutive primes.
MAPLE
with(numtheory): A242230:= proc()local k ; k:=(ithprime(x)^2+ithprime(x+1)+1); if isprime(k) then RETURN (k); fi; end: seq(A242230 (), x=1..500);
MATHEMATICA
A242230 = {}; Do[p = Prime[n]^2 + Prime[n + 1] + 1; If[PrimeQ[p], AppendTo[A242230, p]], {n, 500}]; A242230
Select[#[[1]]^2+#[[2]]+1&/@Partition[Prime[Range[300]], 2, 1], PrimeQ] (* Harvey P. Dale, Mar 28 2016 *)
CROSSREFS
Sequence in context: A218286 A126434 A096544 * A201031 A165259 A181636
KEYWORD
nonn
AUTHOR
K. D. Bajpai, May 08 2014
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 June 19 03:10 EDT 2024. Contains 373492 sequences. (Running on oeis4.)