I got tired of solving these problems. So, I just wrote a solution that works for everything.
1801 Solvers
1883 Solvers
How long is the longest prime diagonal?
338 Solvers
401 Solvers
485 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!