This is an easy way to solve the amount of rice given by the rice and chessboard story! Here are three reasons why it's easier to do it by computer:
No paper required, it is quicker, it only takes a minute;
We can't get it precise quickly like this guy:
• Video
But he does have the story!
https://github.com/Dovava/Algorithms