05AB1E, 11 10 9 7 bytes
L+.Δ‚ÕË -1 byte with help from @ExpiredData.
-2 bytes thanks to @Grimmy.
Outputs -1 if no \$m\$ exists.
Try it online or verify all test cases.
Explanation:
L # Push a list in the range [1, (implicit) input-integer n] + # Add the (implicit) input-integer n to each to make the range [n+1, 2n] .Δ # Get the first value of this list which is truthy for # (or results in -1 if none are truthy): ‚ # Pair the current value with the (implicit) input-integer n Õ # Get the Euler's totient of both Ë # Check whether both are equal to each other # (after which the result is output implicitly) Most answers use \$n^2\$ as the range to check in, but this answer uses \$2n\$ instead to save a byte. If we look at the Mathematica implementation on the oeis sequence A066659 we can see it also uses the range \$[n+1, 2n+1)\$ to check in.