OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..171 (terms below 10^9)
EXAMPLE
5 is a term since the values of the iterated phi of 5 are 4, 2 and 1 and 5 = 4 + 2 - 1.
MATHEMATICA
admTotQ[n_] := Module[{s = Most @ Rest @ FixedPointList[EulerPhi, n]}, (ab = Plus @@ s - n) > 0 && EvenQ[ab] && ab/2 < n && MemberQ[s, ab/2]]; Select[Range[8000], admTotQ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, May 24 2020
STATUS
approved