OFFSET
3,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 3..96
EXAMPLE
a(3) = 31 because prime(3)^3 - 1 = 5^3 - 1 = 124 = 2^2*31; the smallest prime divisor of the form k*n + 1 is 31 = 10*3 + 1 with k = 10.
MATHEMATICA
Table[p = First /@ FactorInteger[Prime[n]^n - 1]; Select[p, Mod[#1, n] ==
1 &, 1][[1]], {n, 3, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jun 05 2011
STATUS
approved