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