in mathematics, triangular numbers are used to count objects arranged in an equilateral triangle.
a triangular number is a figurate number that can be represented with a triangular grid of points where each row contains one more item than the previous one.
, ,
and the pattern continues.
for some reason, we can use the combination function to evaluate triangular numbers. math is weird.
also we have a special case of the combination function where can use the formula
therefore,
worked example: what is the tenth triangular number?
worked example: what is the sum of all integers form 1 to 100 inclusive?
references
https://mathworld.wolfram.com/TriangularNumber.html