Problem 44403. Goldbach's marginal conjecture - Write integer as sum of three primes
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
Back to basics 4 - Search Path
Back to basics 6 - Column Vector
Longest run of consecutive numbers
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!