Pythagorean triplets A Pythagorean triplet is a vector of three numbers (a,b,c) such that a^2 + b^2 = c^2. In this problem, you are required to output all pythagorean triplets (a,b,c) where 0 < a < b < n. for a given input n. Input A number of lines each containing a single integer n, no bigger than 1000. The input is terminated by a 0 on the last line, which should not be processed. Output All pythagorean triplets (a,b,c) as defined above, one per line, sorted in increasing order of the number a. Sample input 10 12 0 Sample Output 3 4 5 6 8 10 3 4 5 6 8 10