Problem 1174. Wheat on a chessboard pt 2
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
Problem Comments
-
6 Comments
Show
3 older comments
Dyuman Joshi
on 10 Apr 2021
Removed the cases with negative quantities. Everyone should be able to solve the problem now.
ChrisR
on 5 May 2021
Is test 4 incorrect?
Dyuman Joshi
on 5 May 2021
@ChrisR, Yes it was incorrect, and has been corrected.
Solution Comments
Show commentsGroup

Matrix Patterns II
- 15 Problems
- 69 Finishers
- ZigZag matrix with reflected format
- Toeplitz Matrix
- Numbers spiral diagonals (Part 2)
- BULLSEYE Part 2: Reference Problem 18 BULLSEYE
- Triangular matrices in 3D array
- Pascal's pyramid
- Generate this matrix
- Rainbow matrix
- Calendar Matrix
- Numbers spiral diagonals (Part 1)
- Numbers spiral diagonals (Part 2)
- Generate this matrix
- Diagonal of a Spiral Matrix
- The Matrix Construction
- Toeplitz Matrix
- Create a block diagonal matrix
- Matrix Construction I
Problem Recent Solvers120
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!