OFFSET
1,1
COMMENTS
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..1000
K. Soundararajan, Small gaps between prime numbers: the work of Goldston-Pintz-Yildirim, Bull. Amer. Math. Soc., 44 (2007), 1-18.
FORMULA
a(n) >> n log^2 n. Infinite under standard conjectures. - Charles R Greathouse IV, Jun 01 2016
MATHEMATICA
Transpose[Select[Partition[Prime[Range[200]], 2, 1], Last[#]-First[#]<5&]][[1]] (* Harvey P. Dale, Apr 22 2013 *)
PROG
(PARI) is(n)=isprime(n) && (isprime(n+2) || isprime(n+4) || n==2) \\ Charles R Greathouse IV, Jun 01 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 19 2006
STATUS
approved