1

What is the explicit formula for the sequence representing the number of any triangles in a triangular grid, like those below?

enter image description here

Context

  • Counting only up-facing triangles of size one, we get triangular numbers.

  • Counting both up-facing and down-facing triangles of size one, we get square numbers (that is, perfect squares)

But what is the total number of all triangles of any size? Here are some values for small $n$.

enter image description here

1 Answers1

1

The values fit $a_n=2n^2-2n+1$ To find that, two levels of differences gives a constant $4$, so the leading term is $(4/2!)n^2$. Subtract that off and you can find the rest.

Ross Millikan
  • 383,099