Đặt \(2^b=x>0\)
\(\Rightarrow x^2+256=40x\)
\(\Leftrightarrow x^2-40x+256=0\)
\(\Rightarrow\left[{}\begin{matrix}x=32\\x=8\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}2^b=32=2^5\\2^b=8=2^3\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}b=5\\b=3\end{matrix}\right.\)