A Pythagorean triplet is a set of three natural numbers, a < b < c, for which: a^2 + b^2 = c^2. For example: 3^2+4^2=9+16=25=5^2.
There exists exactly one Pythagorean triplet for which a + b + c = 1000.
Find the product a x b x c.
Much like Stack Overflow, I think you'll probably get higher-quality help with your homework if you show what you've done already, and how you're thinking about the problem.
As @sorawee says in the other thread, helping with homework questions is okay, but giving the final solution is actually useless, as the student does not learn too much.
@federico3 Please in the future, here or elsewhere, if you have a homework question, tell us what exactly you are unable to do so that we can help you get "unstuck". However, do not expect people to do the homework for you: it is unfair and useless for you as a student.
I am not a moderator of this forum, but I teach programming quite a lot, so I know what I am talking about.