• Bloody Harry@feddit.de
    link
    fedilink
    arrow-up
    46
    arrow-down
    1
    ·
    2 years ago

    It’s a post I’m too stupid to fully understand, yet I know too much to not comprehend the gist

    shit

    • lasagna@programming.dev
      link
      fedilink
      English
      arrow-up
      23
      ·
      2 years ago

      It’s a sum with n from 1 to infinity. The first value with n=1 is 3/4, with n=2 it’s 3/16. And if you keep adding those terms as n goes to infinity it approaches 1 but never gets there.

      Then if you look back at the meme, you could zoom in for infinity and always find a smaller square.

  • Goddard Guryon@sopuli.xyz
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    2 years ago

    That’s some high IQ usage of a meme. Lemme see if I’m getting this right:

    • the total area of the image ( = RHS of the equation) is 1
    • you divide the image into 4 parts so that the area of 1 part is is 1/4 ( = 1/2^(2*1)). You take the first three quarters and leave the fourth quarter for recursion (I’ll call it x1). That gives you 3(1/4) + x1 = 1
    • now you take x1 and do the same with it. This time, the area of each sub-quarter is 1/16 ( = 1/2^(2*2)). Three such sub-quarters and a leftover x2 gives you 3(1/16) + x2 = x1. Put this back into the first equation to get 3(1/4 + 1/16) + x2 = 1.
    • repeat until infinity; each time the area of the resulting tile is 1/4 of the previous tile (which is the 2n in the exponent part)

    Edit: imma remove all markdown since it doesn’t seem to work, at least on liftoff. Enjoy the lisp-like mess