OFFSET
1,1
REFERENCES
Wacław Sierpiński, Czym sie zajmuje teoria liczb. Warsaw: PW "Wiedza Powszechna", 1957, pp. 88-89.
MATHEMATICA
Table[k = 1; While[i = 1; While[i <= n && PrimeQ[i*k + 1], i++]; i <= n || PrimeQ[i*k + 1], k++]; k, {n, 8}]
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Arkadiusz Wesolowski, Jan 06 2012
EXTENSIONS
a(14) from Giovanni Resta, Mar 31 2017
STATUS
approved