iegcd(a,b) or igcdex(a,b) returns the coefficients of the Bézout’s Identity for two integers given as arguments. iegcd(a,b) or igcdex(a,b) returns [u,v,d] such that au+bv=d and d=gcd(a,b). Input :
Output :
In other words :