OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A153975(n) / 2. - Vladimir Joseph Stephan Orlovsky, Apr 23 2010
MATHEMATICA
Select[Range[0, 7! ], PrimeQ[ #^2-3]&&PrimeQ[ #^2+3]&]/2 (* Vladimir Joseph Stephan Orlovsky, Apr 23 2010 *)
Select[Range[1000], AllTrue[4#^2+{3, -3}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Dec 08 2019 *)
PROG
(Magma) [n: n in [1..1000] |IsPrime(4*n^2-3) and IsPrime(4*n^2+3)]; // Vincenzo Librandi, Nov 16 2010
(PARI) is(n)=isprime(4*n^2-3) && isprime(4*n^2+3) \\ Charles R Greathouse IV, Sep 27 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Carl R. White, Aug 20 2004
STATUS
approved