Problem 3075. Matrix of Multiplication Facts
- The two numbers touching the 21 are 7 and 3, and 7x3=21.
- The two numbers touching the 35 are 7 and 5, and 7x5=35.
- The two numbers touching the 6 are 2 and 3, and 2x3=6.
- The two numbers touching the 10 are 2 and 5, and 2x5=10.
Solution Stats
Problem Comments
-
6 Comments
I've got the same problem as Andrew: The test suite always passes x = [21,6;35,10] to my function, even though x is assigned different values in the tests.
Hi Stefan, regarding your comment about the test suite always passing a fixed matrix, I looked into the solution space and the reference solution - the problem seems to be solvable. Where you referring to the Scratchpad by any chance? Let me know if you're still facing the issue, or if you've resolved it since the time you left the comment. Happy to help
There might have been formatting error with the first test case which led to the problems Andrew and Stefan faced.
I have corrected the error and the problem should work fine now.
Solution Comments
Show commentsGroup

Project Euler II
- 12 Problems
- 51 Finishers
- Sums of cubes and squares of sums
- Sum of big primes without primes
- Project Euler: Problem 11, Largest product in a grid
- Highly divisible triangular number (inspired by Project Euler 12)
- Divisors for big integer
- Large Sum (inspired by Project Euler 13)
- Longest Collatz Sequence
- Project Euler: Problem 16, Sums of Digits of Powers of Two
- Project Euler: Problem 18, Maximum path sum I
- Recurring Cycle Length (Inspired by Project Euler Problem 26)
- Numbers spiral diagonals (Part 1)
- Numbers spiral diagonals (Part 2)
Problem Recent Solvers118
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!