OFFSET
1,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..65537
FORMULA
MATHEMATICA
uphi[1]=1; uphi[n_]:=Times@@(#[[1]]^#[[2]]-1&/@FactorInteger[n]);
a[n_]:=(n-1)/GCD[n-1, uphi[n]]; Array[a, 100] (* Giorgos Kalogeropoulos, Jul 02 2021 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 29 2021
STATUS
approved