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
-
Recurring Cycle Length (Inspired by Project Euler Problem 26)
97 Solvers
-
845 Solvers
-
Rotate and display numbered tile
293 Solvers
-
Check that number is whole number
2877 Solvers
-
Return fibonacci sequence do not use loop and condition version 2
43 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!