OFFSET
3,1
COMMENTS
The value of (k+1)^n (mod k^n) is in A188699.
MATHEMATICA
Table[k = 1; While[r = Mod[(k + 1)^n, k^n]; r == 0 || OddQ[r], k++]; k, {n, 3, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 12 2011
STATUS
approved