Hacker News new | ask | show | jobs
by whatshisface 1544 days ago
Take a couple expanded algebraic representations of base-2 numbers:

1×2 + 1×4 + 0×8 + 1×16, 1×8

and substitute the second for every 1 in the first,

8×2 + 8×4 + 0×8 + 8×16

then finally un-distribute,

(1×8)(1×2 + 1×4 + 0×8 + 1×16)

and that's why putting small copies of the second number in the place of every "ding" in the first number results in multiplication.

1 comments

Oh yeah, thanks!