OFFSET
1,2
PROG
(PARI) a(n) = #Set(vector(n^3, x, Mod(x-1, n^3)^n)); \\ Michel Marcus, Aug 22 2023
(Python)
def A365100(n): return len({pow(x, n, n**3) for x in range(n**3)}) # Chai Wah Wu, Aug 23 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Albert Mukovskiy, Aug 21 2023
STATUS
approved