Twelve Days of Christmas

In the song Twelve Days of Christmas, someone’s true love sends a partridge on the first day; two turtledoves and a partridge on the second day; three French hens, two turtledoves and a partridge on the third day. This gift-giving pattern continues for twelve days. How many gifts will the true love send in total?


The answer is 364.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Chew-Seong Cheong
Aug 13, 2014

Let the total number of gifts the true love will send in n n days be S ( n ) S(n) , then we have:

S ( n ) = i = 1 n i = 1 n i S(n) = \sum_{i=1}^{n}{\sum_{i=1}^{n}{i}}

= i = 1 n i ( i + 1 ) 2 \quad = \sum_{i=1}^{n}{\cfrac{i(i+1)}{2}}

= 1 2 i = 1 n ( i 2 + i ) \quad = \frac{1}{2} \sum_{i=1}^{n}{(i^2+i)}

= 1 2 ( i = 1 n i 2 + i = 1 n i ) \quad = \frac{1}{2} \left( \sum_{i=1}^{n}{i^2} + \sum_{i=1}^{n}{i} \right)

= 1 2 ( n ( n + 1 ) ( 2 n + 1 ) 6 + n ( n + 1 ) 2 ) \quad = \frac{1}{2} \left( \frac{n(n+1)(2n+1)}{6} + \frac{n(n+1)}{2}\right)

= 1 12 ( n ( n + 1 ) ( 2 n + 1 ) + 3 n ( n + 1 ) ) \quad = \frac{1}{12} \left( n(n+1)(2n+1) + 3n(n+1) \right)

= 1 12 n ( n + 1 ) ( 2 n + 4 ) \quad = \frac{1}{12} n(n+1)(2n+4)

= 1 6 n ( n + 1 ) ( n + 2 ) \quad = \frac{1}{6} n(n+1)(n+2)

For n = 12 n=12 , then S ( 12 ) = 1 6 ( 12 ) ( 13 ) ( 14 ) = 364 S(12)=\frac{1}{6}(12)(13)(14)=\boxed{364} .

Sakshi Rathore
Jun 24, 2015

a lenghty one...

Rahul Saxena
Mar 26, 2015

Got it right,but how is this a question of combinatorics ? seems to be of progressions.

Manoj Gowda
Jul 22, 2014

On first day the someone's true love sends one gift. On second day he sends 2 + 1 = 3 gifts and on third day he sends 3 + 2 + 1 = 5 gifts and so on. On n t h n^{th} day he sends n ( n + 1 ) 2 \frac{n(n+1)}{2} gifts. Total number of gifts sent is n = 1 12 n ( n + 1 ) 2 = 364 \sum_{n = 1}^{12} \frac{n(n+1)}{2} = 364

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...