Problem 1
In the plane, points with integer coordinates are vertices of unit squares, colored alternately black and white as on a chessboard. For positive integers , consider a right triangle with integer-coordinate vertices and legs of lengths along square edges. Let be the black area and the white area. Define . (a) Calculate when are both even or both odd. (b) Prove . (c) Show that no constant satisfies for all .
Step 2 of 3: Handle opposite parity
In plain words
Handle opposite parity
Detailed analysis
Suppose is odd and even. Increase the odd leg to ; the enlarged triangle has equal legs even and hence zero excess. The added triangle has base and height , area , so the original excess is at most .