OFFSET
1,1
COMMENTS
That is, the smallest b for which b^(s-1) = 1 (mod s), where s is in A181780.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
MATHEMATICA
t = {}; n = 1; While[Length[t] < 100, n++; If[! PrimeQ[n], s = Select[Range[2, n-2], PowerMod[#, n-1, n] == 1 &]; If[s != {}, AppendTo[t, {n, Length[s], s}]]]]; First/@Transpose[t][[3]]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 13 2012
STATUS
approved