Ta có:
P=12(52+1)(54+1)(58+1)(516+1)
P=(52-1)(52+1)(54+1)(58+1)(516+1):2
P=(54-1)(54+1)(58+1)(516+1):2
P=(58-1)(58+1)(516+1):2
P=(516-1)(516+1):2
P=(532-1):2
\(P=12\left(5^2+1\right)\left(5^4+1\right)\left(5^8+1\right)\left(5^{16}+1\right)\)
\(=\frac{1}{2}\left(5^2-1\right)\left(5^2+1\right)\left(5^4+1\right)\left(5^8+1\right)\left(5^{16}+1\right)\)
\(=\frac{1}{2}\left(5^4-1\right)\left(5^4+1\right)\left(5^8+1\right)\left(5^{16}+1\right)\)
\(=\frac{1}{2}\left(5^8-1\right)\left(5^8+1\right)\left(5^{16}+1\right)\)
\(=\frac{1}{2}\left(5^{16}-1\right)\left(5^{16}+1\right)=\frac{5^{32}-1}{2}\)