|
EXAMPLE
|
a(3) = 15 because the third tetrahedral (or triangular pyramidal) number is 10 and we have [10], [4, 4, 1, 1], [4, 1, 4, 1], [4, 1, 1, 4], [1, 4, 4, 1], [1, 4, 1, 4], [1, 1, 4, 4], [4, 1, 1, 1, 1, 1, 1], [1, 4, 1, 1, 1, 1, 1], [1, 1, 4, 1, 1, 1, 1], [1, 1, 1, 4, 1, 1, 1], [1, 1, 1, 1, 4, 1, 1], [1, 1, 1, 1, 1, 4, 1], [1, 1, 1, 1, 1, 1, 4] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
|