| Author |
Comment/Response |
Eric Rawls
|
10/11/10 8:00pm
I'm currently writing a program to return all of the Pythagorean triples that have 32045 as the hypotenuse. To do this I am using the code
TriplesWithHypotenuse[hypot_] :=
Partition[
Flatten[Riffle[PowersRepresentations[hypot^2, 2, 2], hypot]], 3]
The problem is, PowersRepresentations isn't returning one of the primitive triples that has a hypotenuse of 32045 -- {23067,22244,32045}. What gives? Why is PowersRepresentations missing this one triple?
URL: , |
|