A bug travels in the coordinate plane, moving only along the lines that are parallel to the -axis or -axis. Let and . Consider all possible paths of the bug from to of length at most . How many points with integer coordinates lie on at least one of these paths?
This problem is copyrighted by the American Mathematics Competitions.
Instructions for entering answers:
For questions or comments, please email email@example.com.