.
Let m and n be non-negative integers. If m = 6n + 2, then what integer between 0 and m
is the inverse of 2 modulo m? Answer in terms of n.
~~~~~~~~~~~~~~~~~~~~~~
Notice that m = 6n+2 is an even integer number, for any integer number n.
Let's assume that an integer x between 0 and m is the inverse of 2 modulo m.
It means that 2*x = 1 mod m, which is the same as to say that
2x - 1 is a multiple of m : 2x - 1 = k*m.
But 2x is an even number, and k*m is an even number, since "m" is even.
Therefore, this equality 2x - 1 = km is not possible with integer x and "k".
Hence, there is NO any integer between 0 and m which is inverse of 2 modulo m.
ANSWER. There is NO any integer between 0 and m which is inverse of 2 modulo m.
Solved.
---------------
What I proved in my post, in terms of abstract algebra is THIS general statement:
In the ring of integers modulo m, Z/m, where " m " is an even number,
the class {2 mod m} is NOT an invertible element.
In opposite, in such a ring, the class {2 mod m} is a divisor of zero;
and it is well known fact of abstract algebra that in a ring a divisor of zero can not be invertible.