Pardon me if I am putting the question under the wrong topic , but I feel mine is geometric problem.
A triangle is formed on a graph paper 3 line equations
1 : X axis
2 : X<=N
3 : Y<=mX ( m <= 1)
Can I find a generalized equation for finding the number of integer points in the triangle formed ?