Our team participated in a remote trivia event this week, of course using Coda docs to collaborate on answers.
One of the questions referred to the song “The Twelve Days of Christmas”. If you haven’t heard it, the lyrics run through a list of gifts each day. (Full lyrics here.) The question asked: How many gifts were given in this song?
The general idea is that on the first day, you receive 1 gift of x. On the second day, you receive 2 gifts of y and 1 gift of x. On the third, you receive 3 gifts of z, 2 gifts of y, and 1 gift of x.
1
1 + 2
1 + 2 + 3
1 + 2 + 3 + 4
…
Until the final day: 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12
Our team came up with some fun formulas to get to the answer, so I thought it would be a fun challenge to pose here. Let us know what you come up!