OFFSET
1,2
LINKS
R. J. Mathar, Table of n, a(n) for n = 1..10000
MAPLE
MATHEMATICA
a[n_] := Table[PowerMod[i, 12, n], {i, 0, n - 1}] // Union // Length;
Array[a, 100] (* Jean-François Alcover, Mar 24 2020 *)
PROG
(Magma) [#Set([k^12 mod n : k in [1..n]]) : n in [1..81]]
(PARI) a(n)=my(f=factor(n)); prod(i=1, #f[, 1], my(k=f[i, 1]^f[i, 2]); #vecsort(vector(k, i, i^12%k), , 8)) \\ Charles R Greathouse IV, Sep 05 2013
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Arkadiusz Wesolowski, Sep 05 2013
STATUS
approved