On the nth day of christmas you will have accumulated n*(n+1)*(n+2)/6 gifts.
river/twelvedays
How many gifts are accumulated on each day of Christmas, according to the well-known carol.
JavaScript
How many gifts are accumulated on each day of Christmas, according to the well-known carol.
JavaScript
On the nth day of christmas you will have accumulated n*(n+1)*(n+2)/6 gifts.