a+b+c=145
{a,b,c}ip{1/2; 0,4; 3}→
a•1/2=b•0,4=c•3=k
0,4=4/10=2/5
3=3/1
a•1/2=b•2/5=c•3/1=k→
a=2k
2b=5k
3c=k
[3,2]=6
a+b+c=145.............|•6
(înmulțim totul cu 6)
6a+6b+6c=870
6a+3(2b)+2(3c)=870
6•2k+3•5k+2•k=870
12k+15k+2k=870
29k=870
k=870:29
k=30
a=2•30=60
2b=5•30=150
b=150:2=75
3c=30
c=30:3=10