Discovered how to calculate powers of 2 the tedious way