Pythagorean Triplets The Pythagorean Theorem states that for a right triangle with sides a, b, and c, a2+b2=c2.

A Pythagorean triplet is a set of three numbers, where a2+b2=c2, a
To extend this even further, a primitive Pythagorean triplet is a Pythagorean triplet where gcd(a,b,c)=1.

The goal is to find 100 primitive Pythagorean triplets.

Input: No input.

Output: 100 primitive Pythagorean triplets, in whatever order and shape, as long as the output contains only those triplets.

Shortest code wins. Good luck!
Python, 42

i=4
while i&lt;203:print 2*i,i*i-1,i*i+1;i+=2