\(A=2n^2\left(2n-1\right)-3\left(2n-1\right)+2=\left(2n^2-3\right)\left(2n-1\right)+2\)
Do \(\left(2n^2-3\right)\left(2n-1\right)⋮2n-1\)
\(\Rightarrow2⋮2n-1\)
\(\Rightarrow2n-1=Ư\left(2\right)\)
Mà 2n-1 luôn lẻ \(\Rightarrow2n-1=\left\{-1;1\right\}\)
\(\Rightarrow n=\left\{0;1\right\}\)
2.
\(Q=-\left(x^2+4x+4\right)-\left(y^2-2y+1\right)+7\)
\(Q=-\left(x+2\right)^2-\left(y-1\right)^2+7\le7\)
\(Q_{max}=7\) khi \(\left(x;y\right)=\left(-2;1\right)\)