6x= 15(mod21

1 answer

so, 6x = 21k+15 for any integer k
2x = 7k+5
so, since 2x is even, 7k must be odd, so k is odd
So, picking values of k,
k=1: x = 6
k=3: x=13
and so on.