There is a story about the inventor of chess being rewarded by putting 1 grain of rice on the first square of the board; 2 on the second and so on. How much rice does that come to?
The total number of grains is 1.84467440737096E+19
At 25mg per grain that’s 461168601842739 kilogrammes of rice
Which in more understandable terms is:
461,168,601,842.739 metric tonnes
That’s a lot of rice.
If you want to play around with the numbers the calculations are:
[double]$result = 0
$square = [math]::Pow(2, ($psitem -1))
$result += $square
$wt = 0.025
$totalweight = ($wt * $result)/1000
$mtwt = $totalweight /1000
$tons = $totalweight * 0.00098421