\(P=2a^{n+1}-3a^n+5a^{n+1}-7a^n+3a^{n+1}\)
\(=\left(2+5+3\right)a^{n+1}+\left(-3-7\right)a^n\)
\(=10a^{n+1}-10a^n\)
\(=10a^n\left(a-1\right)\)
\(b,P=10a^n\left(a-1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}10a^n=0\\a-1=0\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}a=0\\a=1\end{matrix}\right.\)
#\(Toru\)