OFFSET
1,2
COMMENTS
MATHEMATICA
Do[f=Sum[Mod[Sum[Mod[Sum[PowerMod[i, j^k, n], {i, 1, n}], n], {j, 1, n}], n], {k, 1, n}]; If[IntegerQ[f/n], Print[n]], {n, 1, 103}]
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Alexander Adamchuk, Oct 30 2006
STATUS
approved