ĐK \(n\ge0\)
Ta có \(3.3^{n-1}\left(6.3^{n+2}+3\right)-2.3^n\left(3^{n+3}-1\right)=405\)
\(\Leftrightarrow3^n\left(6.9.3^n+3\right)-2.3^n\left(27.3^n-1\right)=405\)
\(\Leftrightarrow54.3^{2n}+3.3^n-54.3^{2n}+2.3^n=405\Leftrightarrow5.3^n=405\)
\(\Leftrightarrow3^n=81=3^4\Leftrightarrow n=4\left(tm\right)\)
Vậy \(n=4\)