Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today
8465Rank
2Badges
30Score

Jacob received Solver badge for Solution 97251

on 11 Jun 2012

Jacob submitted a Comment to Problem 659. How long is the longest prime diagonal?

I agree that the solution is mis-coded. isprime(spiral(4)) gives: 1 0 0 0 0 0 1 1 1 0 1 0 0 0 0 1 which means that d=2 for this case.

on 11 Jun 2012