• jtk@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Pythagoras ▄︻デ══━一 Gauss

    Edit: Oops, that doesn’t quite work without specifying why it obviously needs to be a 101 by 100 triangle, which I can’t do on weed. Something about 1 side including 0-100 maybe?

    • mycus@kbin.social
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      1 year ago

      picture a square that is n times n, grid size 1. cut it diagonaly, you have n²/2, but that leaves out the bunch of triangles that are 1/2 each. how many of these triangles are there? n.

      so we are left with n²/2 + n/2.

      which is (n² + n)/2.

      which is n(n + 1)/2.


      edit.: maybe using an irl example like counting steps on a staircase and their area could help ilustrate it better, idk.