Maths Olympiad Prep

Library / /48 of 520

Number theory Difficulty 5.3 AIME, harder Prove it

Let P(x)=x4x33x2x+1P(x)=x^{4}-x^{3}-3 x^{2}-x+1. Show that there are infinitely many integers nn such that P(3n)P\left(3^{n}\right) is not prime.

Solution

We observe that 321(mod5)3^{2} \equiv-1(\bmod 5) and 341(mod5)3^{4} \equiv 1(\bmod 5). Let n1n \geqslant 1. Let x=34n+1x=3^{4 n+1}, then x=(34)n×33(mod5)x=\left(3^{4}\right)^{n} \times 3 \equiv 3(\bmod 5), so P(x)3433333+11+3+33+10P(x) \equiv 3^{4}-3^{3}-3^{3}-3+1 \equiv 1+3+3-3+1 \equiv 0 (mod5)(\bmod 5).
On the other hand, P(x)>x4x33x3x3=x3(x5)>x5>34n5>5P(x)>x^{4}-x^{3}-3 x^{3}-x^{3}=x^{3}(x-5)>x-5>3^{4 n}-5>5, so P(34n+1)P\left(3^{4 n+1}\right) is not prime.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.