OFFSET
1,2
MATHEMATICA
f[n_] := Mod[n!, NextPrime@ n]; t[_] := 0; k = 0; While[k < 15201, a = f@ k; If[ t[a] == 0, t[a] = k]; k++]; t /@ Range[0, 70]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Nov 10 2024
STATUS
approved