OFFSET
1,2
COMMENTS
First sets of exactly n consecutive integers;
0;
2, 3;
19..21;
106..109;
1270..1274;
1178..1183;
15304..15310;
2562331..2562338;
108571234..108571242;
1594939699..1594939708.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = (A140840(n) - 11)/210. - Zak Seidov, Jan 15 2014
EXAMPLE
n=2: 210*2 + 11 = 431 is prime.
MATHEMATICA
Select[Range[0, 150], PrimeQ[210#+11]&] (* Harvey P. Dale, Dec 09 2011 *)
PROG
(Magma) [n: n in [0..150]| IsPrime(210*n + 11)]; // Vincenzo Librandi, Oct 04 2012
(PARI) is(n)=isprime(210*n+11) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 08 2002
EXTENSIONS
0 inserted by Ray Chandler, Apr 30 2010
STATUS
approved