OFFSET
1,1
LINKS
E. K. Haviland, An analogue of Euler's phi-function, Duke Math. J., Vol. 11 (1944), pp. 869-872.
MATHEMATICA
f[p_, e_] := If[e == 1, p, p^e - p^(e-2)]; s[n_] := Times @@ f @@@ FactorInteger[n]; s1 = 1; seq = {}; Do[s2 = s[n]; If[s1 == s2, AppendTo[seq, n-1]]; s1 = s2, {n, 2, 10^5}]; seq
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Jul 29 2020
STATUS
approved