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/

  • FilthyShrooms@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    24 days ago

    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@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      24 days ago

      (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@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        23 days ago

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

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

        • Iron Lynx@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          23 days 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)?