OFFSET
1,1
COMMENTS
Twin primes of the form 5n +- 1. [Bruno Berselli, Aug 26 2014]
LINKS
Roger L. Bagula, Table of n, a(n) for n = 1..144
C. K. Caldwell, The Prime Pages.
C. K. Caldwell, Twin Primes.
MATHEMATICA
a[0] = 9; a[n_] := a[n] = a[n - 1] + 10; Flatten[Table[If[PrimeQ[a[n]] && PrimeQ[a[n] + 2], {a[n], a[n] + 2}, {}], {n, 0, 1000}]] - Roger L. Bagula, May 04 2008
Flatten[Select[#+{-1, 1}&/@(5*Range[0, 600, 2]), AllTrue[#, PrimeQ]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Feb 21 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Aug 15 2007
EXTENSIONS
More terms from Roger L. Bagula, May 04 2008
STATUS
approved