a: \(\Leftrightarrow10n^2+25n-16n-40+43⋮2n+5\)
\(\Leftrightarrow2n+5\in\left\{1;-1;43;-43\right\}\)
hay \(n\in\left\{-2;-3;19;-24\right\}\)
b: \(\Leftrightarrow7n^2+9n-4⋮3n+5\)
\(\Leftrightarrow21n^2+27n-12⋮3n+5\)
\(\Leftrightarrow21n^2+35n-8n-\dfrac{40}{3}+\dfrac{4}{3}⋮3n+5\)
\(\Leftrightarrow3n+5\in\left\{1;-1;2;-2;4;-4\right\}\)
hay \(n\in\left\{-2;-1;-3\right\}\)