Problem 52724. Easy Sequences 20: Counting Prime-sided Rectangles
Solution Stats
Problem Comments
-
1 Comment
David Hill
on 17 Sep 2021
I am getting 2 less on test 7. Not sure what the problem is.
Solution Comments
-
1 Comment
GeeTwo
on 10 Nov 2022
At last! A truly MATLAB-like solution that doesn't time out! Essentially the same as one of my earlier solutions, but forcing that big array of ones and zeros to be int8 rather than double. Logical was just a touch slower than int8.
Problem Recent Solvers5
Suggested Problems
-
14606 Solvers
-
1815 Solvers
-
4353 Solvers
-
Self-similarity 1 - Every other term
45 Solvers
-
Project Euler: Problem 11, Largest product in a grid
64 Solvers
More from this Author90
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!