Wheat on a chessboard pt 1 - MATLAB Cody - MATLAB Central

Problem 1172. Wheat on a chessboard pt 1

Difficulty:Rate

If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successive square after had double the amount of grains as the square before. How many grains of wheat would be on the chessboard at the finish?

Assume the chess board is n by n squares.

Solution Stats

25.99% Correct | 74.01% Incorrect
Last Solution submitted on Jan 20, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers182

Suggested Problems

More from this Author4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page