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?
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.
Let the total number of gifts the true love will send in n days be S ( n ) , then we have:
S ( n ) = ∑ i = 1 n ∑ i = 1 n i
= ∑ i = 1 n 2 i ( i + 1 )
= 2 1 ∑ i = 1 n ( i 2 + i )
= 2 1 ( ∑ i = 1 n i 2 + ∑ i = 1 n i )
= 2 1 ( 6 n ( n + 1 ) ( 2 n + 1 ) + 2 n ( n + 1 ) )
= 1 2 1 ( n ( n + 1 ) ( 2 n + 1 ) + 3 n ( n + 1 ) )
= 1 2 1 n ( n + 1 ) ( 2 n + 4 )
= 6 1 n ( n + 1 ) ( n + 2 )
For n = 1 2 , then S ( 1 2 ) = 6 1 ( 1 2 ) ( 1 3 ) ( 1 4 ) = 3 6 4 .