Respuesta :

Any line through the points [tex](a,b)[/tex] and [tex](c,d)[/tex] has

[tex]\gcd(c-a,d-b)+1[/tex]

lattice points. In this case, the count is GCD(45, 264) + 1.

Using Euclid's algorithm, we have

264 = 5•45 + 39

45 = 1•39 + 6

39 = 6•6 + 3

6 = 2•3 + 0

so that GCD(45, 264) = 3. Then there are 3 + 1 = 4 lattice points.