Regaring pythagoras triplet challenge

what is the condition to print -1,

I am not getting this. When to print -1 ,

In the code … Will you please tell me …

I know if there is no triplet … But in this hint video tutor only tell us that if the input no. Is even then what to do …, and if input no is odd then what to do…, ,

But how to know when the output will be -1 what is the of codition i will use is my code

if n < 3 there exists no pythagoras triplet

But how any proof with this condition … If n<3 exist no pythagoras ?? Otherwise according to the hind video … How can you say that if n is less than three then no pythagoras triplet exists

its pretty easy to observe the same