A072073 Number of solutions to cototient(x) = A051953(x) = 2^n.
1, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10
Offset: 1
Keywords
Examples
InvCototient(2^0) has an infinite number of entries, so 2^0=1 is left out. n=14: 2^14=16384, InvCototient(16384) = {24576,28672,31744,32512,32764,32768}, so a(14)=6;
Programs
-
Mathematica
Length /@ Most@ Split@ DeleteCases[Select[Array[# - EulerPhi[#] &, 10^6], IntegerQ@ Log2@ # &], 1] (* Michael De Vlieger, Mar 25 2020 *)
Comments