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

Learn moreOpportunities for recent engineering grads.

Apply TodayIf 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.

60 correct solutions
119 incorrect solutions

Last solution submitted on Jun 13, 2016

1 Comment

Grzegorz Knor
on 10 Sep 2014

Sorry for cheating, I didn't notice that there is string 'NaN' in test suite.

6 Comments