Compute the remainder modulo 7 of
My notes do not make this explicit so I ask here. Is this question asking for a number x such that
If so, then this question is equivalent to solving the diophantine equation
And I need to find the least positive integer x that satisfies this equation?
How shall I proceed to do this?