Triangular tile pyramid
Figurate Numbers
A tile pyramid has 1 tile at height 1, 3 more at height 2, 6 more at height 3, and so on, where layer k adds k(k+1)/2 tiles. How many tiles are used through layer 12? Submit one integer.
Learning goal: Sum triangular numbers to obtain tetrahedral numbers.
Look for the underlying structure rather than guessing the next number. Submit only the final integer; you can open hints below as needed.
Check your answer without signing in. Sign in to save your progress.
Hints
Hint 1
List additions 1,3,6,10.
Hint 2
They form triangular numbers.
Hint 3
The accumulated total is n(n+1)(n+2)/6.
Common mistake to avoid
Assuming the first visible step stays constant without testing the full pattern.
How to approach this problem
Write the layer size as a triangular number and sum those layer counts. The total of the first n triangular numbers is n(n+1)(n+2)/6.
Worked example with different values
Four layers contain 1+3+6+10=20 tiles.
Apply the same reasoning to the challenge. This example is a separate practice problem.
Learn the technique: Sequence patterns: differences, recurrences and interleaving