Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 02 / 07Binomial Theorem

Divisibility, Remainders and Integral Parts Using the Binomial Theorem

Writing a power as (multiple of m plus small number)^n to find remainders and last digits, proving divisibility statements, comparing large numbers, and finding integral and fractional parts of (a + sqrt b)^n with the conjugate trick.

The binomial theorem is the main tool in JEE for remainder and divisibility questions, because it expands a power of a sum into a part that is obviously divisible and a small leftover. Remainders. To find the remainder of ana^{n} on division by mm, write ak=qm±1a^{k} = qm \pm 1 (or qm+sqm + s with small ss) for a convenient kk, then expand. For example, 2100 mod 72^{100} \bmod 7: since 23=8=7+12^{3} = 8 = 7 + 1, 2100=2⋅(23)33=2(7+1)33=2[7(integer)+1]2^{100} = 2 \cdot (2^{3})^{33} = 2(7 + 1)^{33} = 2[7(\text{integer}) + 1], so the remainder is 22. In general, every term of (qm+1)N(qm + 1)^{N} except the last is a multiple of mm, so (qm+1)N≡1(qm + 1)^{N} \equiv 1. With (qm−1)N(qm - 1)^{N}, the leftover is (−1)N(-1)^{N}; if it is −1-1, the remainder is m−1m - 1, since remainders must be non-negative. Last digits. The last two digits of ana^{n} are the remainder mod 100100. Numbers ending in 11 are easy: (10k+1)n=1+n⋅10k+(n2)100k2+⋯(10k + 1)^{n} = 1 + n \cdot 10k + \binom{n}{2}100k^{2} + \cdots, so modulo 100100 only 1+10nk1 + 10nk matters. Reduce other bases to this form: for example, 34=813^{4} = 81, so powers of 33 reduce to powers of 81=80+181 = 80 + 1; 74=2401=2400+17^{4} = 2401 = 2400 + 1, so 74k≡1(mod100)7^{4k} \equiv 1 \pmod{100}. Divisibility proofs. To show that f(n)f(n) is divisible by mm for all nn, write the base as a multiple of mm plus a small number and expand. For instance, 32n+2−8n−9=9n+1−8n−9=(1+8)n+1−8n−9=[1+8(n+1)+(n+12)64+⋯ ]−8n−9=64[(n+12)+8(n+13)+⋯ ]3^{2n+2} - 8n - 9 = 9^{n+1} - 8n - 9 = (1 + 8)^{n+1} - 8n - 9 = [1 + 8(n + 1) + \binom{n + 1}{2}64 + \cdots] - 8n - 9 = 64[\binom{n + 1}{2} + 8\binom{n + 1}{3} + \cdots], which is divisible by 6464. The first two terms of the expansion cancel exactly against −8n−9-8n - 9, which is the design of the question. Comparing large numbers. To decide which is larger, for example 1.0110001.01^{1000} or 1010, keep the first few terms: (1+0.01)1000>1+1000(0.01)+(10002)(0.01)2=1+10+49.95>10(1 + 0.01)^{1000} > 1 + 1000(0.01) + \binom{1000}{2}(0.01)^{2} = 1 + 10 + 49.95 > 10. Since every term is positive, a partial sum is a lower bound. Similarly, (1+1n)n(1 + \frac{1}{n})^{n} is increasing in nn and bounded by 33, with limit ee. Integral and fractional parts. For (a+b)n(a + \sqrt{b})^{n} with a,ba, b positive integers and bb not a perfect square, pair it with the conjugate (a−b)n(a - \sqrt{b})^{n}. If 0<a−b<10 < a - \sqrt{b} < 1: then F′=(a−b)n∈(0,1)F' = (a - \sqrt{b})^{n} \in (0, 1). The sum (a+b)n+(a−b)n(a + \sqrt{b})^{n} + (a - \sqrt{b})^{n} is an even integer (odd powers of b\sqrt{b} cancel). Writing (a+b)n=I+f(a + \sqrt{b})^{n} = I + f with II integer and 0≤f<10 \le f < 1: I+f+F′I + f + F' is an integer, and 0<f+F′<20 < f + F' < 2, so f+F′=1f + F' = 1 and f=1−F′f = 1 - F'. If −1<a−b<0-1 < a - \sqrt{b} < 0, use the difference instead when nn is odd, which gives f=F′f = F' in a suitable form. The classic identity from the first case is (I+f)(1−f)=(a+b)n(a−b)n=(a2−b)n(I + f)(1 - f) = (a + \sqrt{b})^{n}(a - \sqrt{b})^{n} = (a^{2} - b)^{n}. Key Takeaways: - Write the base (or a power of it) as qm±1qm \pm 1; then (qm+1)N≡1(qm + 1)^{N} \equiv 1 and (qm−1)N≡(−1)N(modm)(qm - 1)^{N} \equiv (-1)^{N} \pmod m. - A remainder of −1-1 means m−1m - 1. - Last two digits: work mod 100100; (10k+1)n≡1+10nk(mod100)(10k + 1)^{n} \equiv 1 + 10nk \pmod{100}. - For divisibility by m2m^{2}, expand (1+m)N(1 + m)^{N} and watch the first two terms cancel. - Partial sums of a positive expansion give lower bounds. - (a+b)n=I+f(a + \sqrt{b})^{n} = I + f with 0<a−b<10 < a - \sqrt{b} < 1: I+f+F′I + f + F' is an integer and f+F′=1f + F' = 1. - (I+f)(1−f)=(a2−b)n(I + f)(1 - f) = (a^{2} - b)^{n} in that case. - Pitfall: stating a negative remainder. Brain-Teaser 1: Find the remainder when 5995^{99} is divided by 1313. Solution: 52=25=26−15^{2} = 25 = 26 - 1, so 54=(26−1)2≡1(mod13)5^{4} = (26 - 1)^{2} \equiv 1 \pmod{13}. Then 599=596⋅53=(54)24⋅125≡125(mod13)5^{99} = 5^{96} \cdot 5^{3} = (5^{4})^{24} \cdot 125 \equiv 125 \pmod{13}. Since 125=9×13+8125 = 9 \times 13 + 8, the remainder is 88. Alternatively, 599=5⋅(52)49=5(26−1)49≡5(−1)49=−5≡85^{99} = 5 \cdot (5^{2})^{49} = 5(26 - 1)^{49} \equiv 5(-1)^{49} = -5 \equiv 8. Two routes, one answer; the key is spotting a power of 55 within 11 of a multiple of 1313. Brain-Teaser 2: Find the last two digits of 34003^{400}. Solution: 3400=81100=(1+80)100=1+100×80+(1002)802+⋯3^{400} = 81^{100} = (1 + 80)^{100} = 1 + 100 \times 80 + \binom{100}{2}80^{2} + \cdots. Every term after the first is a multiple of 100100 (the second is 80008000, and later terms contain 802=640080^{2} = 6400). So 3400≡1(mod100)3^{400} \equiv 1 \pmod{100}, and the last two digits are 0101. Reducing to a base ending in 11 makes all the higher terms vanish modulo 100100. Brain-Teaser 3: If (5+26)n=I+f(5 + 2\sqrt{6})^{n} = I + f with II an integer and 0≤f<10 \le f < 1, show that II is odd and find (I+f)(1−f)(I + f)(1 - f). Solution: Let F′=(5−26)nF' = (5 - 2\sqrt{6})^{n}. Since 5−26=15+26≈0.1015 - 2\sqrt{6} = \frac{1}{5 + 2\sqrt{6}} \approx 0.101, 0<F′<10 < F' < 1. The sum I+f+F′=(5+26)n+(5−26)nI + f + F' = (5 + 2\sqrt{6})^{n} + (5 - 2\sqrt{6})^{n} is an even integer, because the terms with odd powers of 262\sqrt{6} cancel and every surviving term is doubled. Since 0<f+F′<20 < f + F' < 2 and f+F′f + F' is an integer, f+F′=1f + F' = 1. Then I=(even integer)−1I = (\text{even integer}) - 1, which is odd. Also 1−f=F′1 - f = F', so (I+f)(1−f)=(5+26)n(5−26)n=(25−24)n=1(I + f)(1 - f) = (5 + 2\sqrt{6})^{n}(5 - 2\sqrt{6})^{n} = (25 - 24)^{n} = 1. The conjugate pairing turns an irrational power into an integer plus a controlled fraction.