OFFSET
1,2
LINKS
Daniel Mondot, Table of n, a(n) for n = 1..89
MATHEMATICA
f[n_] := Block[{k = 1}, If[n == 1, 2, While[ Mod[Prime@k, n] != 1, k++ ]; Prime@k]]; lst = {}; a = 1; Do[b = f@n; If[b > a, a = b; AppendTo[lst, {n, a}]; Print@{n, a}], {n, 18200}]; (Transpose@lst)[[1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jul 08 2006
EXTENSIONS
Alois P. Heinz (Dec 18 2023) comments that a(90)= 1126291, a(100) = 2545019, a(111) = 10084901. - N. J. A. Sloane, Jan 22 2024
STATUS
approved