Perl: the Markov chain saw  
PerlMonks 
Re^2: pythagorean triplesby thor (Priest) 
on Apr 24, 2006 at 03:50 UTC ( #545192=note: print w/ replies, xml )  Need Help?? 
That's correct, but any integer multiple of a primitive Pythagorean triple is also a Pythagorean triple. (The proof is left as an exercise for the reader) This sequence generates the set of primitive Pythagorean triples (assuming that $m & $n are coprime) thor The only easy day was yesterday
In Section
Code Catacombs

