Q. Consider the set of all triangles where ' ' is the origin and and are distinct points in the plane with non negative integral coordinates such that . Number of such distinct triangles whose area is a positive integer, is

 745  102 Straight Lines Report Error

Answer: 90

Solution:

image
Area


Area is an integer then both and are simultaneously either even or both odd.
image
hence