OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
n=1: 210*1-17=193 and 210*1+17=227 are primes.
MATHEMATICA
Select[Range[1, 300], PrimeQ[210 # - 17]&&PrimeQ[210 # + 17]&] (* Vincenzo Librandi, Oct 05 2013 *)
PROG
(PARI) isok(n) = isprime(210*n+17) && isprime(210*n-17); \\ Michel Marcus, Oct 03 2013
(Magma) [n: n in [1..350] | IsPrime(210*n-17) and IsPrime(210*n+17)]; // Vincenzo Librandi, Oct 05 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 08 2002
STATUS
approved