Problem 53730. Easy Sequences 57: "Pretty-gorean" Triangles?
Solution Stats
Problem Comments
-
5 Comments
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.
I am getting exactly the same discrepancy as David for the highest valued arguments.
Same issue as David and William, getting the same values. It appears they both solved the problem. Was it a real solution or a hack, and if real, any clues?
William's, David's, and my solutions all have total hacks to fit Ramon's solution. I'm going to dig a bit to try to figure out which is correct.; identify the 75 and 134 solutions everybody but Ramon finds and see if they're legit.
The problem is round off in Ramon's search for ugly Pythagorean triangles. For 2^27, he finds 115 solutions with x=1 and y=z, one with x=2 and y=z, and 17 solutions with x and y even and z odd., none of which can be Pythagorean triples.
Solution Comments
Show commentsProblem Recent Solvers4
Suggested Problems
-
Circular Primes (based on Project Euler, problem 35)
495 Solvers
-
Decrypt the cypher using XOR encryption (for beginners)
44 Solvers
-
There are 10 types of people in the world
1114 Solvers
-
Calculate Amount of Cake Frosting
24822 Solvers
-
1428 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!