The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A242231 Primes p of the form p^2 + q - 1 where p < q are consecutive primes. 2
 13, 31, 59, 307, 383, 557, 997, 1409, 1723, 3541, 5113, 5407, 6323, 6977, 8017, 10303, 19469, 52673, 94559, 109897, 151717, 158009, 187927, 193163, 249503, 274069, 326617, 361807, 383791, 419261, 427067, 546863, 573809, 592133, 636017, 684757, 735307, 738743 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS K. D. Bajpai, Table of n, a(n) for n = 1..6900 EXAMPLE a(1) = 13 = 3^2 + 5 - 1: 13 is prime, 3 and 5 are consecutive primes. a(2) = 31 = 5^2 + 7 - 1: 31 is prime, 5 and 7 are consecutive primes. MAPLE with(numtheory): A242231:= proc()local k ; k:=(ithprime(x)^2+ithprime(x+1)-1); if  isprime(k) then RETURN (k); fi; end: seq(A242231 (), x=1..500); MATHEMATICA A242231 = {}; Do[p = Prime[n]^2 + Prime[n + 1] - 1; If[PrimeQ[p], AppendTo[A242231, p]], {n, 500}]; A242231 Select[#[[1]]^2+#[[2]]-1&/@Partition[Prime[Range[250]], 2, 1], PrimeQ] (* Harvey P. Dale, Mar 05 2022 *) CROSSREFS Cf. A242230, A000040, A241945, A045636, A214723, A214511. Sequence in context: A166143 A065768 A155820 * A330855 A268927 A061239 Adjacent sequences:  A242228 A242229 A242230 * A242232 A242233 A242234 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.

Last modified July 4 02:09 EDT 2022. Contains 355063 sequences. (Running on oeis4.)