News for hackers. Stuff that matters.
Re:Babylonian Multiplication in the shower (2016) by woofie11 on Saturday August 29, 2020 @07:35PM (#24320164)
For those of us too lazy to think this through, do you care to post an explanation?
Re:Babylonian Multiplication in the shower (2016) by krick on Sunday August 30, 2020 @06:50PM (#24326671)
Sure, here you go.

a — height of a white tile

b — width of a white tile

a x b — S₁, area of a white tile (this is what we are trying to "find")

(a - b)² — S₀, area of a black square

(a + b)² — S, area of a whole block (4 white tiles, 1 black tile)

Now, looking at the image it is obvious, that (S - S₀) = 4S₁.