I already have two solutions for this problem, it is for high school students with an advanced level. I would like to know if there are better or more creative approaches on the problem. Here are my solutions:
- (1st solution): Notice that $$x^{2} = (\frac{\sqrt{111}-1}{2})^{2} = 28 - \frac{\sqrt{111}}{2}$$ $$x^{3} = x \cdot x^{2} = \left( \frac{\sqrt{111}}{2} - \frac{1}{2} \right) \left( 28 - \frac{\sqrt{111}}{2} \right) = 14 \sqrt{111} - 111/4 - 14 + \frac{\sqrt{111}}{4} = \frac{57 \sqrt{111}}{4} - \frac{167}{4} $$ $$x^{4} = (x^{2})^{2} = \frac{ 111 + 4 \cdot 784}{4} - 28 \sqrt{111} $$ $$x^{5} = x^{4} \cdot x = \left( \frac{ 111 + 4 \cdot 784}{4} - 28 \sqrt{111} \right)\left(\frac{\sqrt{111}-1}{2} \right) = \left( \frac{ 3247 }{4} - 28 \sqrt{111} \right) \left(\frac{\sqrt{111}-1}{2} \right) $$ $$ = \sqrt{111}\frac{3359}{8} - \frac{15679}{8} $$
So we have $$ 2x^{5} + 2x^{4} - 53x^{3} - 57x + 54 = $$ $$(\sqrt{111}\frac{3359}{4} - \frac{15679}{4}) + (\frac{ 111 + 4 \cdot 784}{2} - 56 \sqrt{111}) - 53 (\frac{57 \sqrt{111}}{4} - \frac{167}{4}) - 57 (\frac{\sqrt{111}-1}{2}) + 54 $$ $$ = \sqrt{111} (\frac{3359}{4} - \frac{3359}{4}) - \frac{15679}{4} + \frac{ 111 + 4 \cdot 784}{2} + \frac{53 \cdot 167}{4} + \frac{57}{2} + 54 $$ $$ = - \frac{15679}{4} + \frac{ 222 + 8 \cdot 784}{4} + \frac{53 \cdot 167}{4} + \frac{114}{4} + \frac{216}{4} $$ $$ = - \frac{15679}{4} + \frac{ 5600 + 894 }{4} + \frac{5300 + 3180 + 371 }{4} + \frac{114}{4} + \frac{216}{4} $$ $$ = - \frac{15679}{4} + \frac{ 6494 }{4} + \frac{8851}{4} + \frac{114}{4} + \frac{216}{4} $$ $$ = -4/4 = -1, $$ and the answer is $ (-1)^{2004} = 1.$ The above solution requires quite tedious calculation. Below is an alternative solution.
- (2nd solution): Notice that $x = \frac{\sqrt{111}-1}{2}$ is equivalent with $$ (2x + 1)^{2} = 111$$ $$ 4x^{2} + 4x + 1 = 111 $$ $$ 4x^{2} + 4x - 110 = 0$$ $$ (2x^{2} + 2x - 55) = 0 \:\: ........ \:\: (1)$$ Multiply $(1)$ with $x^{3}$ we get $$ (2x^{5} + 2x^{4} - 55x^{3}) = 0 $$ Multiply $(1)$ with $x$ we get $$ (2x^{3} + 2x^{2} - 55x) = 0 $$ Sum both of them and we get: $$ 2x^{5} + 2x^{4} - 53 x^{3} + 2x^{2} - 55x = 0 \:\: ........ \:\: (2)$$ and now we have the 1st 3 terms of the form that we want to calculate. Substract $(2)$ with $(1)$ to get: $$ 2x^{5} + 2x^{4} - 53 x^{3} - 57x + 55 = 0 $$ $$ 2x^{5} + 2x^{4} - 53 x^{3} - 57x + 54 = -1$$ So the answer is $(-1)^{2004} = 1.$