There is a pile of $n$ items. Every time you divide a pile into two piles, you get a score being the product of the number of items in the two piles. Show that the sum of your scores at the end is always $\binom{n}{2}$.

My question: What are some (preferably well-known) books/articles that discuss or at least mention this puzzle? Is there a name to the puzzle? I guess it's quite famous, and as I want to mention it in an article, I would like to cite it properly instead of just saying that it is "a famous puzzle". Searching Google for "pile product score" doesn't yield useful results.