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

Problem 1174. Wheat on a chessboard pt 2

Difficulty:Rate
If a chessboard were to have wheat placed upon each square such that x grains were placed on the first square and each successive square after had y times 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

33.57% Correct | 66.43% Incorrect
Last Solution submitted on Dec 10, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers119

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