Skip to content

← Math Further 6–8

How Much Rice Is on the Chessboard?

Topic 1 · Grades 6–8 · Exponential growth and large numbers

What this builds on from class
In this unit 9 sections
  1. Try it
  2. What’s going on
  3. How big, really?
  4. Doubling against adding
  5. Folding paper: doubling you can try
  6. The twist: nothing doubles forever
  7. Where this is used
  8. Questions
  9. Where to go next

A king, an old story says, was so pleased with the new game of chess that he told its inventor to name his reward. The inventor pointed at the board. “Put one grain of rice on the first square. Two on the second. Four on the third. On every square, twice as many as on the square before, all the way to the 64th. That is all I ask.”

The king laughed. Was that all? A few sacks of rice from the palace store for a game as fine as this? He called for the rice to be counted out.

Before you count, guess.

How much rice does the inventor get for the whole board?

Pick an answer to see why.

A sack of rice in the market weighs 25 kg. On which square does the rice on the board, counted together, first weigh more than one sack?

Pick an answer to see why.

Now fill the board yourself. A grain of rice weighs about 20 mg, so 50 grains weigh a gram and a 25 kg sack holds about 1,250,000 grains, twelve and a half lakh.

Try it

The rice on the chessboard

Press Next square again and again (or tap a square), and watch the weight. Then press Fill all.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
Square 1 will hold
1
All the squares so far
0
They weigh
0 g
That is about
–

Each square gets twice the grains of the square before.

Compare each new square with all the squares before it.

Each new square holds more than all the squares before it.

More rice than the whole world grows in 600 years.

Try it

The first squares

Start small. The first square has 1 grain. Each square after it has twice as many as the one before.

Look at the two rows of your table. Two patterns are hiding there.

Compare each total with the next square. After 5 squares the total is 31, and square 6 holds 32. After 7 squares the total is 127, and square 8 holds 128. What do you notice?

Pick an answer to see why.

Use the pattern to predict, without adding: how many grains are on the first 20 squares together? (Square 21 holds 1,048,576 grains.)

Pick an answer to see why.

Why one more?

Here is a picture of the pattern. Each grain is drawn as one block, so you can count them.

4+11 + 2 + 4 = 78squares 1–3square 44816+11 + 2 + 4 + 8 + 16 = 3132squares 1–5square 6one block = one grain
Figure 1.1 Squares 1 to 3 stacked together make 7 blocks, one short of square 4’s 8. Squares 1 to 5 make 31, one short of square 6’s 32. The dashed block is the missing grain.

Now here is why it must happen, every time, all the way to square 64. Put one extra grain beside square 1. Square 1 and the extra grain make 2, exactly what square 2 holds. Add square 2: 2 + 2 makes 4, exactly what square 3 holds. Add square 3: 4 + 4 makes 8, which is square 4. At every step you add a square to a pile that is already as big as that square, so the pile doubles and becomes the next square. The pile is always “all the squares so far, plus one”, and it is always exactly the next square. Take the extra grain away again, and the squares so far are one less than the next square.

What’s going on

Doubling, written with powers

Multiplying by 2 again and again gives the powers of 2: 2, 2 × 2 = 4, 2 × 2 × 2 = 8, and so on. You know the short way to write them from Grade 8’s indices: 2 × 2 × 2 = 2³, and 2 × 2 × … × 2 with ten 2s is 2¹⁰ = 1,024.

Square 1 has had no doublings yet, square 2 one, square 3 two. So square n has had n − 1 doublings:

square n holds 2n−1 grains. \text{square } n \text{ holds } 2^{n-1} \text{ grains.}

Square 1 holds 2⁰ = 1 grain, which is Grade 8’s rule that any number to the power 0 is 1. Square 64 holds 2⁶³ grains. And since the squares so far are always one less than the next square, the total on the first n squares is

1+2+4+⋯+2n−1=2n−1. 1 + 2 + 4 + \cdots + 2^{n-1} = 2^{n} - 1.

So the whole board holds 2⁶⁴ − 1 grains. The board on the page writes the bigger squares this way, 2¹³ for square 14, once their numbers no longer fit.

Growth like this, where something is multiplied by the same number at every step, is called exponential growth: the exponent, the small raised number, goes up by one at each step. Doubling is exponential growth by 2. Growth where the same amount is added at each step (1, 2, 3, 4… or Rs 1,000 more every day) is linear growth: on a graph it is a straight line.

How big, really?

A quick estimate

You can estimate 2⁶⁴ in your head with one trick: 2¹⁰ = 1,024, which is very close to 1,000 = 10³. Then

2⁶⁴ = 2⁴ × 2¹⁰ × 2¹⁰ × 2¹⁰ × 2¹⁰ × 2¹⁰ × 2¹⁰ ≈ 16 × 10³ × 10³ × 10³ × 10³ × 10³ × 10³ = 16 × 10¹⁸.

The exact number of grains on the whole board is

2⁶⁴ − 1 = 18,446,744,073,709,551,615

a number with 20 digits. The estimate, 16 × 10¹⁸, was a little low: each 1,024 is 2.4% more than 1,000, and the six of them together make the true number about 15% bigger than the estimate. Still, it was right to the nearest power of ten, from mental arithmetic alone.

Use 2¹⁰ ≈ 1,000 to estimate 2³⁰, the grains on square 31.

Pick an answer to see why.

Writing the number

Nepal groups the digits of a big number in a different way from most of the world: the first comma after three digits, then a comma after every two, so that the groups are thousand, lakh, crore, arab, kharab. The same number of grains, written both ways:

Written The board’s grains
Nepal’s way 1,84,46,74,40,73,70,95,51,615
The international way 18,446,744,073,709,551,615
In scientific notation (Grade 8) about 1.84 × 10¹⁹

Above kharab, the names are rarely used, and lists don’t always agree. The Nepali Brihat Shabdakosh gives महाखर्ब (mahakharab, 100 kharab, 10¹³), पद्म (padma, 10¹⁵), शङ्ख (shankha, 100 padma, 10¹⁷) and महाशङ्ख (mahashankha, 100 shankha, 10¹⁹). With those, the board’s grains are read:

184 shankha, 46 padma, 74 mahakharab, 40 kharab, 73 arab, 70 crore, 95 lakh, 51 thousand, 615.

In international names it is 18 quintillion, 446 quadrillion, 744 trillion, 73 billion, 709 million, 551 thousand, 615. Topic 2, How Long Is a Crore Seconds?, is all about getting a feel for such names.

Weighing the board

At about 20 mg a grain, the whole board weighs

18,446,744,073,709,551,615 × 20 mg ≈ 369 billion tonnes (3.69 × 10¹¹ tonnes).

To compare How much rice The board is about
Nepal’s paddy harvest in 2081/82 (2024/25) 5.95 million tonnes 62,000 years of it
The world’s rice harvest forecast for 2026/27 552.5 million tonnes 668 years of it

The last square alone holds half of all of it: 2⁶³ grains, about 184 billion tonnes. To pay, the king would have needed every grain of rice the whole world grows, every year, for 668 years.

Doubling against adding

Here is a choice a moneylender might offer you. Take one:

  • Adding: Rs 1,000 on day 1, and Rs 1,000 more on every day of the month.
  • Doubling: 1 paisa on day 1 (a hundredth of a rupee), 2 paisa on day 2, 4 paisa on day 3, and on every day twice the day before’s gift, for 30 days.

Which would you take for a month of 30 days, and why?

Pick an answer to see why.

Try it

Adding or doubling?

Move the day from 1 to 30. Then add more each day: how much later does doubling catch up?

010,00020,0001102030day
Added each day, in rupees:
Adding, total
Rs 15,000
Doubling, total
Rs 327.67
Doubling’s gift on day 15
Rs 163.84

Adding is ahead. Keep moving the day: doubling’s total passes it on day 22.

Doubling passed adding on day 22, and pulls further ahead every day.

The race shows the two things everyone learns about exponential growth:

  • It starts slower. For two weeks, doubling from 1 paisa is nothing next to Rs 1,000 a day: its bars can’t even be seen.
  • It always wins in the end. Adding brings the same Rs 1,000 every day, but doubling’s daily gift doubles, so sooner or later it passes Rs 1,000 (on day 18, Rs 1,310.72) and keeps on doubling. Its total soon catches up.

Making the adding offer ten times bigger doesn’t save it. Rs 10,000 a day is caught on day 25 instead of 22; Rs 1 lakh a day on day 29. A thousand times more money a day only buys about ten days, because ten doublings multiply by about a thousand.

Folding paper: doubling you can try

Fold a sheet of paper in half, and it is two layers thick. Fold it again: 4 layers. Again: 8. Every fold doubles the layers, just as every square doubles the rice. So after n folds the paper is 2ⁿ layers thick. A sheet of ordinary copy paper is about 0.1 mm thick. How many folds to reach the Moon?

Try it

Fold it to the Moon

Slide the folds up one at a time. Each rung of the ladder is 100 times the one below, so watch how big each fold’s step is.

0.1 mm1 cm1 m100 m10 km1,000 km100,000 km10 million km1 billion kmyou, about 1.5 mMount Everest, 8,849 mthe Moon, 384,400 kmthe Sun, 150 million km
Layers of paper
1,024
Thickness
10.2 cm

Each fold is one more step up the ladder. 14 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 13 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 12 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 11 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 10 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 9 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 8 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 7 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 6 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 5 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 4 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 3 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 2 more folds to pass you, about 1.5 m.

Each fold is one more step up the ladder. 1 more fold to pass you, about 1.5 m.

It reaches past you, about 1.5 m. 13 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 12 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 11 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 10 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 9 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 8 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 7 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 6 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 5 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 4 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 3 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 2 more folds to pass Mount Everest, 8,849 m.

It reaches past you, about 1.5 m. 1 more fold to pass Mount Everest, 8,849 m.

It reaches past Mount Everest, 8,849 m. 15 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 14 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 13 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 12 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 11 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 10 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 9 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 8 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 7 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 6 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 5 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 4 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 3 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 2 more folds to pass the Moon, 384,400 km.

It reaches past Mount Everest, 8,849 m. 1 more fold to pass the Moon, 384,400 km.

It reaches past the Moon, 384,400 km. 9 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 8 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 7 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 6 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 5 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 4 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 3 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 2 more folds to pass the Sun, 150 million km.

It reaches past the Moon, 384,400 km. 1 more fold to pass the Sun, 150 million km.

It reaches past the Sun, 150 million km. No real sheet of paper gets anywhere near this.

On a ladder where each rung is 100 times the rung below, every fold is the same small step: doubling is a steady climb, never a sudden jump. Fourteen folds make a stack about your height. Twenty-seven pass Mount Everest. And 42 folds make a stack 439,805 km tall, past the Moon, which is on average 384,400 km away. Nine more, 51 in all, and the stack would pass the Sun.

But try it.

Halving is doubling backwards, and it gets small just as fast. Halve 1 kg of rice (50,000 grains), then halve the half, and so on: after only 16 halvings you are down to less than a single grain.

The twist: nothing doubles forever

Doubling numbers run away so fast that nothing real can keep doubling for long. Bacteria show it best. Under ideal conditions in the laboratory (warm, with plenty of food), the bacterium E. coli can split in two about every 20 minutes. That is three doublings an hour. One bacterium becomes 8 after an hour, 4,096 after 4 hours, more than a crore after 8 hours (2²⁴), and more than a billion after 10 hours (2³⁰). After a day, 72 doublings, there would be more bacteria than grains of rice on the whole chessboard.

It doesn’t go on. Long before that, the bacteria run out of food and room, and the doubling slows down and stops. Real growth often starts out exponential and then levels off. So an exponential pattern is a good guide while there is room to grow, and a bad one when you use it far past that: always ask what will run out.

Where this is used

The Grade 10 book adds the whole board up as a sum of a geometric series, with a formula for any multiplier: 6.4 Sum of a geometric series.

Questions

How many grains are on square 11 alone?

Pick an answer to see why.

a.★

Without adding them up, how many grains are on the first 16 squares together? Square 17 holds 65,536.

Answer
b.★★

Suppose the inventor had asked for three times as many grains on each square instead of twice as many: 1, 3, 9, 27, 81…

  • i.Add up the first five squares. Is the total still less than the next square?
  • ii.The next square is how many times the total of all the squares before it, plus how much?
Hint
Answer

A water plant on a pond doubles the area it covers every day. On day 30 it covers the whole pond. On which day did it cover half the pond?

Pick an answer to see why.

In the moneylender’s choice, suppose the adding offer is Rs 1 lakh every day. On which day does doubling from 1 paisa catch up with it (its total pass the adding total)?

Pick an answer to see why.

c.★★

How many folds of a 0.1 mm sheet would reach past the Sun, about 150 million km away? Use 2¹⁰ ≈ 1,000 to start, then check.

Hint
Answer
d.★★★

You have 2 parents, 4 grandparents, 8 great-grandparents. Going back like this, how many ancestors did you have 30 generations ago? If a generation is about 25 years, about when did they live? About 44 crore (440 million) people lived on Earth in the year 1200. What is wrong?

Hint
Answer
e.★★★

Grade 8 writes numbers in binary. Square n holds 2n−1 2^{n-1} grains, which is the value of the n-th place from the right in binary (1, 2, 4, 8…). Use this to explain why the whole board, 2⁶⁴ − 1, is written in binary as 64 ones, and why it is the biggest number 64 bits can hold.

Answer

Where to go next

Where these facts come from