Lời giải:
Ta có: \(x=\frac{\sqrt{5}+1}{2}\Rightarrow 2x=\sqrt{5}+1\)
\(\Rightarrow (2x-1)^2=5\Rightarrow 4x^2-4x+1=5\)
\(\Rightarrow x^2-x-1=0\)
Khi đó:
\(x^7+2x^5+x^4+2x+1\)
\(=(x^2-x-1)(x^5+4x^3+6x^2+10x+16)+28x+17\)
\(=28x+17=\frac{28(\sqrt{5}+1)}{2}+17=14\sqrt{5}+31\)