OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MAPLE
a := proc (n) if isprime(n) = true and isprime(4*n^2-8*n-9) = true then n else end if end proc: seq(a(n), n = 1 .. 2000); # Emeric Deutsch, Jan 27 2009
MATHEMATICA
Select[Prime[Range[200]], PrimeQ[4 #^2 - 8 # - 9] &] (* Vincenzo Librandi, Oct 15 2012 *)
PROG
(Magma) [p: p in PrimesInInterval(2, 2000) | IsPrime(4*p^2 - 8*p - 9) ]; // Vincenzo Librandi, Oct 15 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 18 2009
EXTENSIONS
Extended by Emeric Deutsch, Jan 27 2009
STATUS
approved