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.

58 correct solutions
102 incorrect solutions

Last solution submitted on Jan 11, 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