Problem 44403. Goldbach's marginal conjecture - Write integer as sum of three primes
Solution Stats
Problem Comments
-
2 Comments
Hi, yurenchu. Nice problem, and you have constructed a nicely comprehensive Test Suite. However, could you please assess the two submissions to check whether the Test Suite might be missing some valid possible triplets? (I know the first submission shouldn't pass, because I accidentally omitted one command, but I think the second submission should pass.) There is also a misprint of "y-correct" instead of "y_correct" in test number 9. Thanks, DIV.
Hi David Verelli. Thanks a lot for your comments regarding my first created problem, I really appreciate it. Sorry for not replying any sooner, but my computer broke down a few days ago. Thanks for discovering the flaws and errors in the test suite. A few of the tests were indeed missing valid solution triplets, I've fixed them now. I've also fixed the spelling error in test #9 and a problem with the random integer selection. Your solution should pass now (I don't know how long rescoring will take)! Again, thanks a lot for your feedback, much appreciated!
Problem Recent Solvers51
Suggested Problems
-
1934 Solvers
-
Make a random, non-repeating vector.
6663 Solvers
-
Set the array elements whose value is 13 to 0
1285 Solvers
-
Check if number exists in vector
8720 Solvers
-
Determine if input is a perfect number
189 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!