Problem 53730. Easy Sequences 57: "Pretty-gorean" Triangles?
100.0% Correct | 0.0% Incorrect
Last Solution submitted on Mar 19, 2023
David Hill on 13 Jan 2022
I am getting different answers for 1e8 and 2^27. All of my other results match yours. I get 271357762 for 1e8 and 370497786 for 2^27. Can you check your answers again.
William on 28 Jan 2023
I am getting exactly the same discrepancy as David for the highest valued arguments.
Solution CommentsShow comments
Problem Recent Solvers3
Replace all zeros and NaNs in a matrix with the string 'error'
Find Index of maximum Value and maximum Value of a vector
Fahrenheit to Celsius converter
More from this Author116
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!