Hi, given an equation of a line of the form , how can one determine if it passes through any point or not?

E.g

passes through some lattice point while

doesn't.

Thanks.

Ok, i think i got it, it's a Diopthene equation , and we need to check if c is a multiple of gcd(a,b) right?