FactSet interview question

An array is given. Find all the pythogorian triplets.