OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MAPLE
a := proc (n) if isprime(ithprime(n)+18) = true and isprime(ithprime(n)+36) = true then ithprime(n) else end if end proc: seq(a(n), n = 1 .. 400); # Emeric Deutsch, Mar 02 2009
MATHEMATICA
Select[Prime[Range[3000]], And @@ PrimeQ[{# + 18, # + 36}]&] (* Vincenzo Librandi, Oct 31 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(3000)|IsPrime(p + 18) and IsPrime (p + 36)]; // Vincenzo Librandi, Oct 31 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 08 2009
EXTENSIONS
More terms from Emeric Deutsch, Mar 02 2009
STATUS
approved