Maths Olympiad Prep

Library / /39 of 61

Number theory Difficulty 6.0 National Olympiad Prove it Ibero-American Mathematical Olympiad

Problem:

The sequences a0,a1,a2,a_0, a_1, a_2, \ldots and b0,b1,b2,b_0, b_1, b_2, \ldots are defined by a0=1a_0 = 1, b0=4b_0 = 4, an+1=an2001+bna_{n+1} = a_n^{2001} + b_n, bn+1=bn2001+anb_{n+1} = b_n^{2001} + a_n. Show that no member of either sequence is divisible by 20032003.

Solution

Solution:

20032003 is prime, so a2002=1mod2003a^{2002} = 1 \bmod 2003 for any aa not divisible by 20032003. Thus an+1=an1+bnmod2003a_{n+1} = a_n^{-1} + b_n \bmod 2003, bn+1=bn1+anmod2003b_{n+1} = b_n^{-1} + a_n \bmod 2003. Put cn=anbnc_n = a_n b_n. Then cn+1=cn+1/cn+2=(cn+1)2/cnmod2003c_{n+1} = c_n + 1 / c_n + 2 = (c_n + 1)^2 / c_n \bmod 2003. So if cn0mod2003c_n \neq 0 \bmod 2003, then cn+10mod2003c_{n+1} \neq 0 \bmod 2003 unless cn=1mod2003c_n = -1 \bmod 2003. Then if cn+1=1mod2003c_{n+1} = -1 \bmod 2003, we must have (cn2+3cn+1)/cn=0mod2003(c_n^2 + 3c_n + 1) / c_n = 0 \bmod 2003, so cn2+3cn+1=0mod2003c_n^2 + 3c_n + 1 = 0 \bmod 2003. Note that c0=4c_0 = 4. So it is sufficient to show that there are no solutions to x2+3x+1=0mod2003x^2 + 3x + 1 = 0 \bmod 2003, or equivalently to (x1000)2=100021=502mod2003(x - 1000)^2 = 1000^2 - 1 = 502 \bmod 2003. In other words, we have to show that 502502 is a quadratic non-residue mod 20032003.

The easiest way to do that is to use the law of quadratic reciprocity, but that is almost certainly outside the syllabus. We note that 502=5mod2003502 = 5 \bmod 2003, so 502502 is a square iff 55 is a square. It is sufficient to show that 51001=1mod20035^{1001} = -1 \bmod 2003, for then if we had x2=5x^2 = 5, we would have x2002=1mod2003x^{2002} = -1 \bmod 2003, whereas we know that x2002=1mod2003x^{2002} = 1 \bmod 2003. We note that 1001=711131001 = 7 \cdot 11 \cdot 13. We start by showing that 57=8mod20035^7 = 8 \bmod 2003. We have 55=3125=1122mod20035^5 = 3125 = 1122 \bmod 2003, so 56=5610=1604mod20035^6 = 5610 = 1604 \bmod 2003, so 57=8020=8mod20035^7 = 8020 = 8 \bmod 2003.

We calculate successively 211=2048=45mod20032^{11} = 2048 = 45 \bmod 2003, so 222=2025=22mod20032^{22} = 2025 = 22 \bmod 2003. Multiplying by 2222 is relatively easy, so 244=4842^{44} = 484, 266=10648=6332^{66} = 10648 = 633, 288=13926=952^{88} = 13926 = -95, 2110=2090=872^{110} = -2090 = -87, 2132=1914=892^{132} = -1914 = 89, 2143=4005=12^{143} = 4005 = -1 all mod2003\bmod 2003. Hence 81113=1mod20038^{11 \cdot 13} = -1 \bmod 2003, so 51001=1mod20035^{1001} = -1 \bmod 2003, as required, and we are done.

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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.