Problem:
Find the number of points which lies inside the triangle : $(0,0) , (0,21); (20,0) $
Approach :
Let us take point $A = (0,0)$, $B = (0,21)$, and $C = (20,0)$.
Since the figure formed by joining these points $ABC$ is a triangle where:
Point $A$ lies on origin; $B$ lies on $y$-axis and $C$ lies on $x$-axis. I am unable to find the condition to find the number of points which lies in this triangle.
Please help in this context.. thanks...
Hint
Take the equations: $$ \begin{align} 0 \le x & \le 20 \\ 0 \le y &\le 21 \\ \dfrac{x}{20} + \dfrac{y}{21} &\le 1 \\ x, \ y \in \left\{0,\ 1,\ 2,\ 3,\ \cdots \right\} \end{align} $$