5x ≡ 3 (mod 12).
The question asked me to find the smallest positive non zero integers that can be plugged in the place of x.
I only know how to find the answer by making a list.
5, 10, 3, 8, 1, 6, 11, 4, 9, 2, 7, 0, 5, 10, 3.
It took 12 for 3 to get back to another 3. So the answer is 3, 15(=3+12), 27(=3+12+12).
But is there any shortcut or formula to get them more easily?