Jacob - MATLAB Cody - MATLAB Central

Jacob

74136
Rank
2
Badges
30
Score
1 – 7 of 7

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

1 – 7 of 7
Go to top of page