|
|
A088250
|
|
a(n) is the smallest number k such that r*k + 1 is prime for all r = 1 to n.
|
|
11
|
|
|
1, 1, 2, 330, 10830, 25410, 512820, 512820, 12960606120, 434491727670, 1893245380950, 71023095613470, 878232256181280, 11429352906540438870
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Conjectures: (1) Sequence is infinite. (2) For every n there are infinitely many arithmetic progressions with n successive primes.
|
|
LINKS
|
|
|
EXAMPLE
|
a(11) = 1893245380950 because all eleven numbers 1*1893245380950 + 1, 2*1893245380950 + 1, 3*1893245380950 + 1, ..., 10*1893245380950 + 1 & 11*1893245380950 + 1 are prime and 1893245380950 is the smallest number with such property.
|
|
MATHEMATICA
|
a[n_] := Block[{k = If[n < 4, 1, 6], s}, s = k; While[! AllTrue[k Range[n] + 1, PrimeQ], k += s]; k]; Array[a, 8] (* Giovanni Resta, Mar 31 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|