OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..70
EXAMPLE
7 is a term since iphi(7) = 6 and iphi(5) + iphi(6) = 4 + 2 = 6.
MATHEMATICA
f[p_, e_] := p^(2^(-1 + Position[Reverse@IntegerDigits[e, 2], 1])); iphi[1] = 1; iphi[n_] := Times @@ (Flatten @ (f @@@ FactorInteger[n]) - 1); Select[Range[3, 10^5], iphi[#] == iphi[# - 1] + iphi[# - 2] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Mar 04 2020
STATUS
approved