\(Q=\frac{2002}{a}+8008a+\frac{2017}{b}+2017b-2506\left(2a+3b\right)\)
\(Q\ge2\sqrt{\frac{2002}{a}.8008a}+2\sqrt{\frac{2017}{b}.2017b}-2506.4\)
\(Q\ge2018\)
\(\Rightarrow Q_{min}=2018\) khi \(\left\{{}\begin{matrix}a=\frac{1}{2}\\b=1\end{matrix}\right.\)