OFFSET
1,1
COMMENTS
Numbers k such that 2*k + 1 - 6 and 2*k + 1 + 6 are sexy primes. [Jonathan Vos Post, Feb 14 2011]
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..7600
EXAMPLE
1002 is in the sequence because 2*1002 + 1 - 6 = 1999 is prime, and 2*1002 + 1 + 6 = 2011 is prime.
MATHEMATICA
Select[Range[3, 1000], PrimeQ[2 # + 5] && PrimeQ[2 # - 7] &] - 1 (* Vincenzo Librandi, May 20 2017 *)
PROG
(Magma) [n-1: n in [3..400] |IsPrime(2*n+5) and IsPrime(2*n-7)]; // Vincenzo Librandi, May 20 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Oct 26 2003
STATUS
approved