pythagorean triples exercise

Mel mwilson at
Fri Oct 22 21:20:47 CEST 2010

MRAB wrote:
> On 22/10/2010 13:33, Baba wrote:

>> only a has an upper limit of 200
> Really? The quote you gave included "whose small sides are no larger
> than n". Note: "sides", plural.

Strangely, there does seem to be a limit.  Fixing one side at 200, the 
largest pythagorean triple I have found is (200, 9999, 10001.0).  So far my 
math has not been up to explaining why.


More information about the Python-list mailing list