Maths Olympiad Prep

Library / /328 of 520

Number theory Difficulty 6.7 National olympiad Prove it

The sequences a0,a1,a2,\mathrm{a}_{0}, \mathrm{a}_{1}, \mathrm{a}_{2}, \ldots and b0, b1, b2,\mathrm{b}_{0}, \mathrm{~b}_{1}, \mathrm{~b}_{2}, \ldots are defined by a0=1, b0=4,an+1=an2001+bn\mathrm{a}_{0}=1, \mathrm{~b}_{0}=4, \mathrm{a}_{\mathrm{n}+1}=\mathrm{a}_{\mathrm{n}}{ }^{2001}+\mathrm{b}_{\mathrm{n}}, bn+1=bn2001+anb_{n+1}=b_{n}^{2001}+a_{n}. Show that no member of either sequence is divisible by 2003.

Solution

2003 is prime, so a2002=1mod2003 a^{2002} = 1 \bmod 2003 for any a a not divisible by 2003. Thus an+1=an1+bnmod2003,bn+1=bn1+anmod2003 a_{n+1} = a_{n}^{-1} + b_{n} \bmod 2003, b_{n+1} = b_{n}^{-1} + a_{n} \bmod 2003 . Put cn=anbn c_{n} = a_{n} b_{n} . Then cn+1=cn+1cn+2=(cn+1)2cnmod2003 c_{n+1} = c_{n} + \frac{1}{c_{n}} + 2 = \frac{(c_{n} + 1)^2}{c_{n}} \bmod 2003 . So if cn0mod2003 c_{n} \neq 0 \bmod 2003 , then cn+10mod2003 c_{n+1} \neq 0 \bmod 2003 unless cn=1mod2003 c_{n} = -1 \bmod 2003 . Then if cn+1=1mod2003 c_{n+1} = -1 \bmod 2003 , we must have cn2+3cn+1cn=0mod2003 \frac{c_{n}^2 + 3c_{n} + 1}{c_{n}} = 0 \bmod 2003 , so cn2+3cn+1=0mod2003 c_{n}^2 + 3c_{n} + 1 = 0 \bmod 2003 . Note that c0=4 c_{0} = 4 . So it is sufficient to show that there are no solutions to x2+3x+1=0mod2003 x^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 502 is a quadratic non-residue mod 2003.

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=5mod2003 502 = 5 \bmod 2003 , so 502 is a square iff 5 is a square. It is sufficient to show that 51001=1mod2003 5^{1001} = -1 \bmod 2003 , for then if we had x2=5 x^2 = 5 , we would have x2002=1mod2003 x^{2002} = -1 \bmod 2003 , whereas we know that x2002=1mod2003 x^{2002} = 1 \bmod 2003 . We note that 1001=71113 1001 = 7 \cdot 11 \cdot 13 . We start by showing that 57=8mod2003 5^7 = 8 \bmod 2003 . We have 55=3125=1122mod2003 5^5 = 3125 = 1122 \bmod 2003 , so 56=5610=1604mod2003 5^6 = 5610 = 1604 \bmod 2003 , so 57=8020=8mod2003 5^7 = 8020 = 8 \bmod 2003 .

We calculate successively 211=2048=45mod2003 2^{11} = 2048 = 45 \bmod 2003 , so 222=2025=22mod2003 2^{22} = 2025 = 22 \bmod 2003 . Multiplying by 22 is relatively easy, so 244=484 2^{44} = 484 , 266=10648=633 2^{66} = 10648 = 633 , 288=13926=95 2^{88} = 13926 = -95 , 2110=2090=87 2^{110} = -2090 = -87 , 2132=1914=89 2^{132} = -1914 = 89 , 2143=4005=1 2^{143} = 4005 = -1 all mod2003 \bmod 2003 . Hence 81113=1mod2003 8^{11 \cdot 13} = -1 \bmod 2003 , so 51001=1mod2003 5^{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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.