for a=1:1000
    c=sqrt(2*a^2+2*a+1)
    if c==floor(c) then
        b=a+1
        afficher(string(a)+" , " + string(b) + " , " + string(c))
    end
end