Wheat and Chessboard Problem — Definition, Formula & Example
The Wheat and Chessboard Problem is a classic puzzle in which you place 1 grain of wheat on the first square of a chessboard, 2 on the second, 4 on the third, and keep doubling across all 64 squares. The total is so large that it shows how fast repeated doubling grows.
The problem asks for the sum of the finite geometric series with first term , common ratio , and terms: . Square holds grains. The problem is also called Rice on a Chessboard.
Key Formula
Where:
- = Total number of grains on the first n squares
- = Number of squares filled (64 for a full board)
- = Square number, counting from 1
- = Grains on square k, since the amount doubles from one square to the next
Worked Example
Problem: Using the doubling rule, find (a) the total number of grains on the first row of 8 squares, (b) the number of grains on square 64 alone, and (c) the total number of grains on the whole board.
Step 1: The first row is a geometric series with , , and . Apply the sum formula.
Step 2: Square holds grains, so square 64 holds .
Step 3: For the whole board, use . Notice that the total equals twice the last square minus 1.
Answer: (a) 255 grains. (b) 9,223,372,036,854,775,808 grains. (c) 18,446,744,073,709,551,615 grains in total. The last square alone holds more grains than all 63 earlier squares combined.
Why It Matters
In Algebra 2 and precalculus, this problem is a classic introduction to exponential growth and finite geometric series. It also shows up in computer science. The largest number a 64-bit unsigned integer can store is exactly , which equals the chessboard total.
Common Mistakes
Mistake: Saying square 64 holds grains.
Correction: Square 1 holds grain, so the exponent is always one less than the square number. Square 64 holds . The quantity is the total for the whole board, not the count on the last square.
