OFFSET
2,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 2..10000
Michael De Vlieger, Comparison of A096014 and A291989
EXAMPLE
MATHEMATICA
Table[k = n + 2; While[Or[CoprimeQ[k, n], PowerMod[n, k, k] == 0], k++]; k, {n, 2, 66}] (* Michael De Vlieger, Sep 20 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Sep 20 2017
STATUS
approved