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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A254010 Numbers n such that 4n+1 and 4(n+1)+1 are primes. 1
 3, 9, 24, 27, 48, 57, 69, 78, 87, 99, 114, 153, 168, 189, 192, 213, 219, 234, 252, 273, 303, 324, 357, 372, 387, 399, 402, 423, 468, 498, 534, 567, 573, 594, 597, 609, 618, 654, 672, 687, 699, 708, 714, 738, 759, 804, 813, 864, 882, 903, 918, 924, 948, 969, 1032, 1038, 1128, 1182, 1197, 1203, 1233, 1242, 1269, 1308, 1353 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Both n and n+1 are terms in A005098. All terms are multiples of 3. 4n+1 and 4(n+1)+1 are pairs of consecutive primes. Notice that in all cases, the numbers 4(n-1)+1 and 4(n+2)+1 are not prime as they are multiples of 3. LINKS MAPLE A254010:=n->`if`(isprime(4*n+1) and isprime(4*(n+1)+1), n, NULL): seq(A254010(n), n=1..2000); # Wesley Ivan Hurt, Apr 23 2015 MATHEMATICA Select[Range[1000], PrimeQ[4 # + 1] && PrimeQ[4 (# + 1) + 1] &] (* Vincenzo Librandi, Apr 24 2015 *) PROG (MAGMA) [n: n in [0..1000] | IsPrime(4*n+1) and IsPrime(4*(n+1)+1)]; // Vincenzo Librandi, Apr 24 2015 CROSSREFS Cf. A005098. Sequence in context: A129834 A029488 A198681 * A338124 A024314 A120012 Adjacent sequences:  A254007 A254008 A254009 * A254011 A254012 A254013 KEYWORD nonn AUTHOR Zak Seidov, Jan 22 2015 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 May 22 09:12 EDT 2022. Contains 353941 sequences. (Running on oeis4.)