\(\frac{a}{2}=\frac{c}{4}=\frac{ab}{2b}=\frac{bc}{4b}=\frac{ab+bc}{2b+4b}=\frac{18}{6b}=\frac{b}{3}\)
\(\Rightarrow6b.b=18.3\)\(\Rightarrow6b^2=54\)\(\Rightarrow b^2=9\)\(\Rightarrow b=\pm3\)
Nếu \(b=3\)\(\Rightarrow a=2\), \(c=4\)
Nếu \(b=-3\)\(\Rightarrow a=-2\), \(c=-4\)
Vậy các cặp giá trị \(\left(a;b;c\right)\)thoả mãn là: \(\left(2;3;4\right)\)hoặc \(\left(-2;-3;-4\right)\)