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