OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
3 is a term since it is a prime and 60*3 - 1 = 179 and 60*3 + 1 = 181 are twin primes.
7 is a term since it is a prime and 60*7 - 1 = 419 and 60*7 + 1 = 421 are twin primes.
MAPLE
a:=proc(n) if isprime(60*ithprime(n)-1) = true and isprime(60*ithprime(n)+1) = true then ithprime(n) else end if end proc: seq(a(n), n=1..400); # Emeric Deutsch, May 19 2008
MATHEMATICA
a=60; Select[Prime[Range[10^3]], PrimeQ[a*#-1]&&PrimeQ[a*#+1]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 15 2008
EXTENSIONS
More terms from Emeric Deutsch, May 19 2008
STATUS
approved