Problem 47260. Find Logic 9
Guess the Logic!
logic(1) = 4
logic(2) = 1
logic(3) = 10
logic(4) = 2
Solution Stats
Problem Comments
-
3 Comments
Andreas Neu
on 23 Dec 2022
more than one solution is possible with the given 4. not all of them pass test 3
Marco Riani
on 18 Mar 2023
Andreas New is right.
However, not only with number 4 but with all the the other even numbers there is the same problem. At present 18/03/2023 once the logic has been understood there is not probability 1 to get the problem solved. Test set has to be redesigned.
Basil Imoberdorf
on 16 Apr 2025 at 23:56
Test Suite 5 is broken. Sometimes it works sometimes not
Solution Comments
Show commentsProblem Recent Solvers268
Suggested Problems
-
2390 Solvers
-
Back to basics 21 - Matrix replicating
1650 Solvers
-
Set the array elements whose value is 13 to 0
1381 Solvers
-
1172 Solvers
-
Sum of odd numbers in a matrix
592 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!