OFFSET
1,2
COMMENTS
When the number of solutions is 2, the sum of Sum_{d|x} d*mu(d) is always 0.
A007366 is contained in this sequence because it selects terms with the smallest even number of inverses.
FORMULA
0 = card({phi^-1(a(n))}) mod 2.
EXAMPLE
1 is a term because phi(1) has two inverses, 1, and 2.
6 is a term because phi(6) has four inverses, 7, 9, 14, and 18.
10 is a term because phi(10) has two inverses, 11, and 22.
18 is a term because phi(18) has four inverses, 19, 27, 38, 54.
348 is a term because phi(348) has six inverses, 349, 413, 531, 698, 826, and 1062.
MATHEMATICA
With[{nn = 1500}, TakeWhile[Union@ Select[KeyValueMap[{#1, Length@ #2} &, PositionIndex@ Array[EulerPhi, nn]], EvenQ@ Last@ # &][[All, 1]], # <= nn/6 &] ] (* Michael De Vlieger, Dec 20 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Torlach Rush, Dec 17 2017
EXTENSIONS
Corrected and extended by Rémy Sigrist, Dec 19 2017
STATUS
approved