OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
20 is in the sequence since iphi(20) = iphi(21) = 12.
MATHEMATICA
f[p_, e_] := p^(2^(-1 + Position[Reverse @ IntegerDigits[e, 2], _?(# == 1 &)])); a[1] = 1; a[n_] := Times @@ (Flatten @(f @@@ FactorInteger[n]) - 1); a1 = 1; s = {}; Do[a2 = a[n]; If[a1 == a2, AppendTo[s, n - 1]]; a1 = a2, {n, 2, 10^5}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Sep 14 2019
STATUS
approved
