2023 Fall Theme p4C
Source:
December 23, 2023
2023FAlLthemegeo
Problem Statement
The equation of line is and the equation of line is . Let be the number of positive integer values less than such that for both and there exists a lattice point on that line that is a distance of from the point . Determine .Proposed by Christopher ChengSolution.
Note that is the intersection of the lines and . Thus, we only care about lattice points on the the two lines that are an integer distance away from . Notice that and are part of the Pythagorean triple and and are part of the Pythagorean triple . Thus, points on only satisfy the conditions when is divisible by and points on only satisfy the conditions when is divisible by . Therefore, is just the number of positive integers less than that are divisible by both and . The LCM of and is , so the answer is .