MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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.

28 correct solutions
27 incorrect solutions

Last solution submitted on Apr 30, 2015

1 Comment

Robert Turner
on 4 Jan 2013

This should also be slimmed down somehow.

1 Comment

Robert Turner
on 4 Jan 2013

Someone can easily beat this lead.

2 Comments