OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
1 is in the sequence since 18*1 - 1 = 17 and 18*1 + 1 = 19 are twin primes.
MATHEMATICA
q=18; lst={}; Do[r=n*q; If[PrimeQ[r-1]&&PrimeQ[r+1], AppendTo[lst, n]], {n, 1, 10^3}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 07 2008 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 19 2008
STATUS
approved