this post was submitted on 02 Dec 2024
203 points (99.0% liked)

xkcd

8960 readers
23 users here now

A community for a webcomic of romance, sarcasm, math, and language.

founded 2 years ago
MODERATORS
 

The growth rate of items per day may may seem absurd, but it's actually much less than the acceleration in the 12 Days of Christmas song.

https://explainxkcd.com/3019/

you are viewing a single comment's thread
view the rest of the comments
[–] FilthyShrooms 5 points 2 weeks ago (4 children)

So assuming 25 advent calenders in the advent calender, each with the correct amount of days (1st has 25, 2nd has 24, etc), how many chocolates would there be in total?

[–] Tudsamfa 13 points 2 weeks ago (2 children)

(n*(n+1)/2 = 25*13 =325

Never mind the fact that the "correct" number of days on an advent calender is 24.

[–] Iron_Lynx 2 points 2 weeks ago (1 children)

For one, it looks to me like the triangle numbers, which for triangle number T~n~ = (n+1) choose 2.

So for a correct nested advent calendar of 24 days, it's T~24~ = (24+1) choose 2 = 300

[–] Iron_Lynx 2 points 2 weeks ago* (last edited 2 weeks ago)

Also, it appears that they created the terminal function that does that in a very compact notation, so another correct way to write down this sum is "24?" Where n? = n + (n-1)?

load more comments (1 replies)