Problems

Filters
Clear Filters

37 problems found

2011 Paper 1 Q8
D: 1516.0 B: 1484.0

  1. The numbers \(m\) and \(n\) satisfy \[ m^3=n^3+n^2+1\,. \tag{\(*\)} \]
    • Show that \(m > n\). Show also that \(m < n+1\) if and only if \(2n^2+3n > 0\,\). Deduce that \(n < m < n+1\) unless \(-\frac32 \le n \le 0\,\).
    • Hence show that the only solutions of \((*)\) for which both \(m\) and \(n\) are integers are \((m,n) = (1,0)\) and \((m,n)= (1,-1)\).
  2. Find all integer solutions of the equation \[ p^3=q^3+2q^2-1\,. \]

2011 Paper 2 Q2
D: 1600.0 B: 1516.0

Write down the cubes of the integers \(1, 2, \ldots , 10\). The positive integers \(x\), \(y\) and \(z\), where \(x < y\), satisfy \[ x^3+y^3 = kz^3\,, \tag{\(*\)} \] where \(k\) is a given positive integer.

  1. In the case \(x+y =k\), show that \[ z^3 = k^2 -3kx+3x^2\,. \] Deduce that \((4z^3 - k^2)/3\) is a perfect square and that \(\frac14 {k^2} \le z^3 < k^2\,\). Use these results to find a solution of \((*)\) when \(k=20\).
  2. By considering the case \(x+y = z^2\), find two solutions of \((*)\) when \(k=19\).


Solution: \begin{array}{c|c} n & n^3 \\ \hline 1 & 1 \\ 2 & 8 \\ 3 & 27 \\ 4 & 64 \\ 5 & 125 \\ 6 & 216 \\ 7 & 343 \\ 8 & 512 \\ 9 & 729 \\ 10 & 1000 \\ \end{array}

  1. \(\,\) \begin{align*} && x^3 + y^3 &= kz^3 \\ \Rightarrow &&k(x^2-xy+y^2)&=kz^3 \\ \Rightarrow && z^3 &= (x+y)^2-3xy \\ &&&= k^2-3x(k-x) \\ &&&= k^2-3xk+3x^2 \\ \\ \Rightarrow && \frac{4z^3-k^2}{3} &= \frac{4(k^2-3xk+3x^2)-k^2}{3} \\ &&&= \frac{3k^2-12xk+12x^2}{3} \\ &&&= k^2-4xk+4x^2 \\ &&&= (k-2x)^2 \end{align*} Therefore \(\frac{4z^3-k^2}{3}\) is a perfect square and so \(4z^3 \geq k^2 \Rightarrow z^3 \geq \frac14k^2\). Clearly \(kz^3 < x^3+3x^2y+3xy^2+y^3 = k^3 \Rightarrow z^3 < k^2\), therefore \(\frac14 k^2 \leq z^3 < k^2\) Therefore if \(k = 20\), \(100 \leq z^3 < 400 \Rightarrow z \in \{ 5, 6,7\}\). Mod \(3\) it is clear that \(4z^3-k^2\) is not divisible by \(3\) for \(z = 5,6\) therefore \(z = 7\) \begin{align*} && 343 &= 3x^2-60x+400 \\ \Rightarrow && 0 &= 3x^2-60x+57 \\ \Rightarrow && 0 &= x^2-20x+19 \\ \Rightarrow && x &= 1,19 \end{align*} Therefore a solution is \(1^3 + 19^3 = 20 \cdot 7^3\)
  2. When \(x+y = z^2\) we must have \begin{align*} && x^3 + y^3 &= kz^3 \\ \Rightarrow &&(x^2-xy+y^2)&=kz \\ \Rightarrow && kz &= (x+y)^2-3xy \\ &&&= z^4-3x(z^2-x)\\ &&&= z^4-3xz^2+3x^2 \\ \Rightarrow && 0 &= 3x^2-3z^2x+z^4-kz \\ \\ \Rightarrow && 0 &\leq \Delta = 9z^4-12(z^4-kz) \\ &&&=12kz-3z^4 \\ \Rightarrow && z^3 &\leq 4k \end{align*} If \(k = 19\) this means \(z \leq 4\) \begin{array}{c|c|c|c} z & 19z^3 & x & y \\ \hline 1 & 19 & - & - \\ 2 & 152 & 3 & 5 \\ 3 & 513 & 1 & 8 \end{array} So two solutions are \(1^3+8^3 = 19 \cdot 3^3\) and \(3^3+5^3=19 \cdot 2^3\)

2010 Paper 1 Q8
D: 1500.0 B: 1484.0

  1. Suppose that \(a\), \(b\) and \(c\) are integers that satisfy the equation \[ a^{3}+3b^{3}=9c^{3}. \] Explain why \(a\) must be divisible by 3, and show further that both \(b\) and \(c\) must also be divisible by 3. Hence show that the only integer solution is \(a=b=c=0\,\).
  2. Suppose that \(p\), \(q\) and \(r\) are integers that satisfy the equation \[ p^4 +2q^4 = 5r^4 \,.\] By considering the possible final digit of each term, or otherwise, show that \(p\) and \(q\) are divisible by 5. Hence show that the only integer solution is \(p=q=r=0\,\).


Solution:

  1. Since \(a^3 = 9c^3 - 3b^3 = 3(3c^3-b^3)\) we must have \(3 \mid a^3\). But since \(3\) is prime, \(3 \mid a\). Since \(3 \mid a\) we can write \(a = 3a'\) for some \(a' \in \mathbb{Z}\). Therefore our equation is \(27(a')^3 + 3b^3 = 9c^3 \Rightarrow 9(a')^3 + b^3 = 3c^3\) which means that \(3 \mid b\) by the same argument from earlier. So \(b = 3b'\) so the equation is \(9(a')^3 + 27(b')^3 = 3c^3 \Rightarrow 3(a')^3 + 9(b')^3 = c^3\) which means that \(3 \mid c\). Suppose \((a,b,c)\) is the smallest measured by \(a^2+b^2+c^2\) with \(a, b, c\neq 0\). Then \((\frac{a}{3}, \frac{b}{3}, \frac{c}{3})\) is also a solution. But this contradicts that we had found the smallest solution. Therefore the only possible solution is \((0,0,0)\) which clearly works.
  2. Consider \(p, q \pmod{5}\). By \(FLT\) \(p^4, q^4 = 0, 1 \pmod{5}\) so \(p^4+2q^4 \in \{0, 1, 2, 3\}\) and in particular the only way they are divisible by \(5\) is if \(p \equiv q \equiv 0 \pmod{5}\). Therefore \(p = 5p', q = 5q'\) and so \(5^4(p')^4 + 5^4(q')^4 = 5r^4 \Rightarrow r^4 = 5(25(p')^4 + 25(q')^4) \Rightarrow 5\mid r^4 \Rightarrow 5 \mid r\). Therefore we can use the same argument about the smallest solution to show that \(p = q= r = 0\)

2009 Paper 1 Q1
D: 1500.0 B: 1500.0

A {\em proper factor} of an integer \(N\) is a positive integer, not \(1\) or \(N\), that divides \(N\).

  1. Show that \(3^2\times 5^3\) has exactly \(10\) proper factors. Determine how many other integers of the form \(3^m\times5^n\) (where \(m\) and \(n\) are integers) have exactly 10 proper factors.
  2. Let \(N\) be the smallest positive integer that has exactly \(426\) proper factors. Determine \(N\), giving your answer in terms of its prime factors.


Solution:

  1. All factors of \(3^2 \times 5^3\) have factors of the form \(3^k \times 5^l\) where \(0 \leq k \leq 2\) and \(0 \leq l \leq 3\) therefore there are \(3\) possible values for \(k\) and \(4\) possible values for \(l\), which gives \(3 \times 4 = 12\) factors, which includes \(2\) factors we aren't counting, so \(10\) proper factors. By the same argument \(3^m \times 5^n\) has \((m+1) \times (n+1) - 2\) proper factors, so we want \((m+1) \times (n+1) = 12\), so we could have \begin{array}{cccc} \text{factor} & m+1 & n + 1 & m & n \\ 12 = 12 \times 1 & 12 & 1 & 11 & 0 \\ 12 = 6 \times 2 & 6& 2 & 5 & 1 \\ 12 = 4 \times 3 & 4& 3 & 3 & 2 \\ 12 = 3 \times 4 & 3& 4 & 2 & 3 \\ 12 = 2 \times 6 & 2& 6 & 1 & 5 \\ 12 = 1 \times 12 & 1& 12 & 0 & 11 \\ \end{array} So we could have \(3^{11}, 3^{5} \times 5^1 3^3 \times 5^2, 3^2 \times 5^3, 3^1 \times 5^5, 5^{11}\)
  2. Suppose \(N\) has \(426\) proper factors, then it has \(428 = 2^2 \times 107\) factors, so it will either factor as \(p^{427}\) or \(p_1^{106} p_2^{3}\) or \(p_1^{106} p_2 p_3\). Clearly the first will be very large, and we should have \(p_1 < p_2 < p_3\), so lets consider \(2^{106}\) with either \(3^3 = 27\) or \(3 \times = 15 < 27\). Therefore we should take \(2^{106} \times 3 \times 5\)

2007 Paper 1 Q6
D: 1500.0 B: 1489.2

  1. Given that \(x^2 - y^2 = \left( x - y \right)^3\) and that \(x-y = d\) (where \(d \neq 0\)), express each of \(x\) and \(y\) in terms of \(d\). Hence find a pair of integers \(m\) and \(n\) satisfying \(m-n = \left( \sqrt {m} - \sqrt{n} \right)^3\) where \(m > n > 100\).
  2. Given that \(x^3 - y^3 = \left( x - y \right)^4\) and that \(x-y = d\) (where \(d \neq 0\)), show that \(3xy = d^3 - d^2\). Hence show that \[ 2x = d \pm d \sqrt {\frac{4d-1 }{3}} \] and determine a pair of distinct positive integers \(m\) and \(n\) such that \(m^3 - n^3 = \left( m - n \right)^4\).


Solution:

  1. \(\,\) \begin{align*} && x^2-y^2 &=(x-y)^3 \\ \Rightarrow && x+y &=d^2 \\ && x-y &= d \\ \Rightarrow && x &= \tfrac12(d^2+d) \\ && y &= \tfrac12(d^2-d) \end{align*} Therefore consider \(x^2 = m, y^2 = n\), so \(m = \tfrac14(d^2+d)^2, n = \tfrac14(d^2-d)^2\) so we want \(d^2-d > 20\), so \(d = 6, n = 225, m = 441\).
  2. \(\,\) \begin{align*} && x^3-y^3 &= (x-y)^4 \\ \Rightarrow && x^2+xy+y^2 &= (x-y)^3 \\ && d^3 &= (x-y)^2+3xy \\ && d^3 &= d^2 + 3xy \\ \Rightarrow && 3xy &= d^3 - d^2 \\ \Rightarrow && 3x(x-d) &= d^3-d^2 \\ \Rightarrow && 0 &= 3x^2-3dx-(d^3-d^2) \\ \Rightarrow && 2x &=d \pm \sqrt{d^2+4\frac{(d^3-d^2)}{3}} \\ &&&= d \pm d \sqrt{\frac{3+4d-4}{3}} \\ &&&= d \pm d \sqrt{\frac{4d-1}{3}} \end{align*} Therefore we need \(\frac{4d-1}{3}\) to be an odd square. \(y = x-d = -\frac{d}{2} \pm \frac{d}{2} \sqrt{\frac{4d-1}{3}}\). Since we want positive values, we should take the positive square roots. \(d = \frac{3 \cdot 3^2 + 1}{4} = 7\) we have \(2x = 7 +7 \cdot 3 = 28 \Rightarrow x = 14, y = 7\)

2006 Paper 1 Q1
D: 1500.0 B: 1516.0

Find the integer, \(n\), that satisfies \(n^2 < 33\,127< (n+1)^2\). Find also a small integer \(m\) such that \((n+m)^2-33\,127\) is a perfect square. Hence express \(33\,127\) in the form \(pq\), where \(p\) and \(q\) are integers greater than \(1\). By considering the possible factorisations of \(33\, 127\), show that there are exactly two values of \(m\) for which \((n+m)^2 -33\,127\) is a perfect square, and find the other value.


Solution: \begin{align*} 180^2 &= 32400 \\ 181^2 &= 32761 \\ 182^2 &= 33124 \\ 183^2 &= 33489 \\ 184^2 &= 33856 \end{align*} Therefore \(182^2 < 33\,127 < (182+1)^2\). and \((182+2)^2 - 33\,127 = 729 = 27^2\). Therefore \(33\,127 = 184^2 - 27^2 = 211 \times 157\). (Note both of these numbers are prime). Suppose \((n+m)^2 - 33\,127 = k^2\) then \(33\,127 = (n+m)^2-k^2 = (n+m-k)(n+m+k)\). Since there are only two factorisations of \(33\,127\) into positive integer factors with one factor larger than the other, the other factorisation must be: \(n+m+k = 33\,127, n+m-k = 1 \Rightarrow k = \frac{33\, 126}{2} = 16563\), ie \(16564^2 - 33\,127 = 16563^2\)

2005 Paper 2 Q2
D: 1600.0 B: 1516.0

For any positive integer \(N\), the function \(\f(N)\) is defined by \[ \f(N) = N\Big(1-\frac1{p_1}\Big)\Big(1-\frac1{p_2}\Big) \cdots\Big(1-\frac1{p_k}\Big) \] where \(p_1\), \(p_2\), \(\dots\) , \(p_k\) are the only prime numbers that are factors of \(N\). Thus \(\f(80)=80(1-\frac12)(1-\frac15)\,\).

  1. (a) Evaluate \(\f(12)\) and \(\f(180)\). (b) Show that \(\f(N)\) is an integer for all \(N\).
  2. Prove, or disprove by means of a counterexample, each of the following: (a) \(\f(m) \f(n) = \f(mn)\,\); (b) \(\f(p) \f(q) = \f(pq)\) if \(p\) and \(q\) are distinct prime numbers; (c) \(\f(p) \f(q) = \f(pq)\) only if \(p\) and \(q\) are distinct prime numbers.
  3. Find a positive integer \(m\) and a prime number \(p\) such that \(\f(p^m) = 146410\,\).


Solution:

  1. \(f(12) = f(2^2 \cdot 3) = 12 \cdot (1-\frac12)\cdot(1-\frac13) = 12 \cdot \frac12 \cdot \frac 23 = 4\) \(f(180) = f(2^2 \cdot 3^2 \cdot 5) = 180 \cdot \frac12 \cdot \frac23 \cdot \frac 45 = 12 \cdot 4 = 48\) Suppose \(N\) has prime decomposition \(p_1^{a_1} \cdots p_k^{a_k}\), then \(f(N) = p_1^{a_1} \cdots p_k^{a_k} (1 - \frac{1}{p_1})\cdots ( 1- \frac{1}{p_k}) = p_1^{a_1-1} \cdots p_k^{a_k-1}(p_1-1) \cdots (p_k-1)\) which is clearly an integer.
  2. \(f(2) = 1, f(4) = 2 \neq f(2) \cdot f(2)\) If \(p, q\) are distinct primes then \(f(p) = p \cdot \frac{p-1}{p} = p-1\) and \(f(q) = q-1\). \(f(pq) = pq \frac{p-1}{p} \cdot \frac{q-1}{q} = (p-1)(q-1) = f(p)f(q)\) \(f(12) = 4 = 2\cdot 2 = f(4) \cdot f(3)\)
  3. \(f(p^m) = p^{m-1} (p-1)\) \(146410 = 10 \cdot 14641 = 10 \cdot 11^4\). Therefore \(p = 11, m = 5\)

2004 Paper 1 Q5
D: 1484.0 B: 1500.0

The positive integers can be split into five distinct arithmetic progressions, as shown: \begin{align*} A&: \ \ 1, \ 6, \ 11, \ 16, \ ... \\ B&: \ \ 2, \ 7, \ 12, \ 17, \ ...\\ C&: \ \ 3, \ 8, \ 13, \ 18, \ ... \\ D&: \ \ 4, \ 9, \ 14, \ 19, \ ... \\ E&: \ \ 5, 10, \ 15, \ 20, \ ... \end{align*} Write down an expression for the value of the general term in each of the five progressions. Hence prove that the sum of any term in \(B\) and any term in \(C\) is a term in \(E\). Prove also that the square of every term in \(B\) is a term in \(D\). State and prove a similar claim about the square of every term in \(C\).

  1. Prove that there are no positive integers \(x\) and \(y\) such that \[ x^2+5y=243\,723 \,. \]
  2. Prove also that there are no positive integers \(x\) and \(y\) such that \[ x^4+2y^4=26\,081\,974 \,. \]

2003 Paper 1 Q7
D: 1484.0 B: 1516.0

Let \(k\) be an integer satisfying \(0\le k \le 9\,\). Show that \(0\le 10k-k^2\le 25\) and that \(k(k-1)(k+1)\) is divisible by \(3\,\). For each \(3\)-digit number \(N\), where \(N\ge100\), let \(S\) be the sum of the hundreds digit, the square of the tens digit and the cube of the units digit. Find the numbers \(N\) such that \(S=N\). [Hint: write \(N=100a+10b+c\,\) where \(a\,\), \(b\,\) and \(c\) are the digits of \(N\,\).]


Solution: First note that \(10k - k^2 = 25 - (5-k)^2\) which is clearly bounded above by \(25\). The smallest it can be is when \(|5-k|\) is as large as possible, ie when \(k =0\) and we get a lower bound of \(0\). For \((k-1)k(k+1)\) notice this is the product of \(3\) consecutive integers, and therefore must be divisible by \(3\). (In fact, it's divisible by six, since \(\binom{k+1}{3}\) is the number of ways to choose \(3\) objects from \(k+1\). Let \(N = 100a + 10b + c\) where \(0 \leq a,b,c < 10\) and \(1 \leq a\). \(S = a + b^2 + c^3\) we want to find \begin{align*} && 100a +10b + c &= a + b^2 + c^3 \\ \Rightarrow && 0 &= \underbrace{99a}_{3 \mid 99 } + 10b - b^2 -\underbrace{c(c+1)(c-1)}_{3 \mid c(c+1)(c-1)} \\ \end{align*} Therefore \(3 \mid 10b - b^2 = b(10-b)\). Therefore \(3 \mid b\) or \(3 \mid 10-b\) so \(b = 0, 3, 6, 1, 4, 7\) We also have \(99a \geq 99\) and \(10b-b^2 \in [0, 25]\) so we need \(c^3-c \geq 99\), so \(c \geq 5\) Case \(c = 5\), Then \(c^3-c = 120\) so \(a = 1\) and \(10b-b^2 = 21\) so \(b= 3, 7\) \(N = 135, 175\) Case \(c = 6\), so \(c^3 - c = 210\) so \(a = 2\) and \(25-(5-k)^2 = 12\) so no solutions. Case \(c = 7\), so \(7^3 - 7 = 336\) so \(a = 3\) and \(25-(5-k)^2 = 39\) so no solutions. Case \(c = 8\) so \(8^3-8 = 504\) so \(a = 5\) and \(25-(5-k)^2 = 9\), so \(b = 1, 9\) and \(N = 518, 598\) Case \(c = 9\) so \(9^3 - 9 = 720\), so \(a = 7\) and \(25-(5-k)^2 = 27\) so no solutions. Therefore all the solutions are \(N = 135, 175, 518, 598\)

2002 Paper 2 Q3
D: 1600.0 B: 1552.5

The \(n\)th Fermat number, \(F_n\), is defined by \[ F_n = 2^{2^n} +1\, , \ \ \ \ \ \ \ n=0, \ 1, \ 2, \ \ldots \ , \] where \(\ds 2^{2^n}\) means \(2\) raised to the power \(2^n\,\). Calculate \(F_0\), \(F_1\), \(F_2\) and \(F_3\,\). Show that, for \(k=1\), \(k=2\) and \(k=3\,\), $$ F_0F_1 \ldots F_{k-1} = F_k-2 \;. \tag{*} $$ Prove, by induction, or otherwise, that \((*)\) holds for all \(k\ge1\). Deduce that no two Fermat numbers have a common factor greater than \(1\). Hence show that there are infinitely many prime numbers.


Solution: \begin{align*} && F_0 &= 2^{2^0}+1 \\ &&&= 2^1+1 = 3\\ && F_1 &= 2^{2^1}+1 \\ &&&= 2^2+1 = 5 \\ && F_2 &= 2^{2^2}+1 \\ &&&= 2^4+1 \\ &&&= 17 \\ &&F_3 &= 2^{2^3}+1 \\ &&&= 2^8+1 \\ &&&= 257 \\ \\ && \text{empty product} &= 1\\ && F_1 - 2 &= 3-2 = 1\\ \Rightarrow&& 1 &= F_1-2\\ && F_0 &=3 \\ && F_2-2 &= 3 \\ \Rightarrow && F_0 &= F_2 - 2\\ && F_0F_1 &= 3 \cdot 5 = 15 \\ && F_3-2 &= 17-2 = 15 \\ \Rightarrow && F_0F_1 &= F_3-2 \end{align*} \begin{align*} && F_0 F_1 \cdots F_{k-1} &= \prod_{i=0}^{k-1} \left ( 2^{2^{i}}+1\right) \\ &&&= \sum_{l = \text{sum of }2^i} 2^l \\ &&&= \sum_{l=0}^{2^{k}-1}2^l \\ &&&= 2^{2^k}-1 \\ &&&= F_k-2 \end{align*} Suppose \(p \mid F_a, F_b\) with \(b > a\), then \(p \mid 2=F_b - F_0\cdots F_a \cdots F_{b-1}\) therefore \(p = 1, 2\), but \(2 \nmid F_a\) for any \(a\). Therefore any number dividing two Fermat numbers is \(1\), ie they are all coprime. Consider the smallest prime dividing \(F_n\) for each \(n\). Clearly these are all different since each \(F_n\) is coprime from all the others. Clearly there are infinitely many of time (since there are infinitely many \(F_n\)). Therefore there are infinitely many primes.

2002 Paper 3 Q4
D: 1700.0 B: 1490.1

Show that if \(x\) and \(y\) are positive and \(x^3 + x^2 = y^3 - y^2\) then \(x < y\,\). Show further that if \(0 < x \le y - 1\), then \(x^3 + x^2 < y^3 - y^2\). Prove that there does not exist a pair of {\sl positive} integers such that the difference of their cubes is equal to the sum of their squares. Find all the pairs of integers such that the difference of their cubes is equal to the sum of their squares.

2000 Paper 2 Q1
D: 1600.0 B: 1516.0

A number of the form \(1/N\), where \(N\) is an integer greater than 1, is called a unit fraction. Noting that \[ \frac1 2 =\frac13 + \frac16\\\ \mbox{ and } \frac13 = \frac14 + \frac1{12}, \] guess a general result of the form $$ \frac1N =\frac1a +\frac1b \tag{*} $$ and hence prove that any unit fraction can be expressed as the sum of two distinct unit fractions. By writing \((*)\) in the form \[ (a-N)(b-N)=N^2 \] and by considering the factors of \(N^2\), show that if \(N\) is prime, then there is only one way of expressing \(1/N\) as the sum of two distinct unit fractions. Prove similarly that any fraction of the form \(2/N\), where \(N\) is prime number greater than 2, can be expressed uniquely as the sum of two distinct unit fractions.


Solution: Notice that \(\frac{1}{N} = \frac{1}{N+1} + \frac{1}{N(N+1)}\), so any unit fraction can be expressed as the sum of two distinct unit fractions. \begin{align*} && \frac{1}N &= \frac1a + \frac1b \\ \Leftrightarrow && ab&= Nb+Na \\ \Leftrightarrow && 0 &= (a-N)(b-N)-N^2 \\ \Leftrightarrow && N^2 &= (a-N)(b-N) \end{align*} If \(N\) is prime then the only factors of \(N^2\) are \(1,N\) and \(N^2\). if \(a-N = b-N = N\) then \(a=b\) and we don't have distinct fractions. Therefore \(a-N = 1\) and \(b-N = N^2\) and we obtain the decomposition earlier (and it must be the only solution). \begin{align*} && \frac2N &= \frac1a+\frac1b \\ \Leftrightarrow && 2ab &= Nb+Na \\ \Leftrightarrow && 4ab &= 2Na+2Nb \\ \Leftrightarrow && N^2 &= (2a-N)(2b-N) \end{align*} Therefore for \(a,b\) to be distinct we must have \(2a = N+1\) and \(2b = N+N^2\) as the only possible factorisation. Both of the right hand sides are even so we can write \[ \frac{1}{N} = \frac{1}{\frac{N+1}{2}} + \frac{1}{\frac{N(N+1)}{2}} \] and this is unique

1999 Paper 1 Q1
D: 1484.0 B: 1500.0

How many integers greater than or equal to zero and less than a million are not divisible by 2 or 5? What is the average value of these integers? How many integers greater than or equal to zero and less than 4179 are not divisible by 3 or 7? What is the average value of these integers?


Solution: There are \(1\,000\,000\) numbers between 1 and a million (inclusive). \(500\,000\) are divisible by \(2\), \(200\,000\) are divisible by \(5\) and \(100\,000\) are divisible by both. Therefore there are: \(1\,000\,000 - 500\,000-200\,000+100\,000 = 400\,000\). (Alternatively, the only numbers are those which are \(1,3,7,9 \pmod{10}\) so there are \(4\) every \(10\), or \(4 \cdot 100\,000\)). We can sum all these values similarly, \begin{align*} S &= \underbrace{\sum_{i=1}^{10^6} i}_{\text{all numbers}}-\underbrace{\sum_{i=1}^{5 \cdot 10^5} 2i}_{\text{all multiples of } 2}-\underbrace{\sum_{i=1}^{2 \cdot 10^5} 5i}_{\text{all multiples of } 5}+\underbrace{\sum_{i=1}^{10^5} 10i}_{\text{all multiples of } 5} \\ &= \frac{10^6 \cdot (10^6 + 1)}{2} - \frac{10^6 \cdot (5\cdot 10^5+1)}{2} - \frac{10^6 \cdot (2\cdot 10^5+1)}{2} + \frac{10^6 \cdot (10^5+1)}{2} \\ &= \frac{10^6 (10^5 \cdot (10-5-2+1))))}{2} \\ &= \frac{10^6 \cdot 10^5 \cdot 4}{2} \\ &= 2\cdot 10^{11} \end{align*} So the average value is \(\frac{2 \cdot 10^{11}}{4 \cdot 10^5} = \frac{10^6}{2} = 500\,000\). (Alternatively, each value can be paired off eg \(999\,999\) with \(1\) and so on, leaving averages of \(500\,000\)). Note that \(4197\) is divisible by \(3\) and \(7\). Using the same long we have: \(4179 - \frac{4179}{3} - \frac{4179}{7} + \frac{4179}{21} = 4179 - 1393 - 597 + 199 = 2388\). The sum will be: \begin{align*} S &= \underbrace{\sum_{i=1}^{4179}i }_{\text{all numbers}}- \underbrace{\sum_{i=1}^{1393}3i }_{\text{multiples of }3}- \underbrace{\sum_{i=1}^{597}7i }_{\text{multiples of }7}+ \underbrace{\sum_{i=1}^{199}21i }_{\text{mulitples of }21} \\ &= \frac{4179 \cdot 4180}{2} - \frac{4179 \cdot 1394}{2} - \frac{4179 \cdot 598}{2} +\frac{4179 \cdot 200}{2} \\ &= \frac{4179 \cdot 2388}{2} \end{align*} So the average value is \(\frac{4179}{2}\).

1998 Paper 2 Q1
D: 1600.0 B: 1500.0

Show that, if \(n\) is an integer such that $$(n-3)^3+n^3=(n+3)^3,\quad \quad {(*)}$$ then \(n\) is even and \(n^2\) is a factor of \(54\). Deduce that there is no integer \(n\) which satisfies the equation \((*)\). Show that, if \(n\) is an integer such that $$(n-6)^3+n^3=(n+6)^3, \quad \quad{(**)}$$ then \(n\) is even. Deduce that there is no integer \(n\) which satisfies the equation \((**)\).


Solution: \begin{align*} && n^3 &= (n+3)^3 - (n-3)^3 \\ &&&= n^3 + 9n^2+27n + 27 - (n^3 - 9n^2+27n-27) \\ &&&= 18n^2+54 \end{align*} Therefore since \(2 \mid 2(9n^2 + 27)\), \(2 \mid n^3 \Rightarrow 2 \mid n\), so \(n\) is even. Since \(n^2 \mid n^3\), \(n^2 \mid 54 = 2 \cdot 3^3\), therefore \(n = 1\) or \(n = 3\). \((1-3)^3 + 1^3 < 0 < (1+3)^3\). So \(n = 1\) doesn't work. \((3 - 3)^3 + 3^3 < (3+3)^3\) so \(n = 3\) doesn't work. Therefore there are no solutions. \begin{align*} && n^3 &= (n+6)^3 - (n-6)^3 \\ &&&= n^3 + 18n^2 + 180n + 6^3 - (n^3 - 18n^2 + 180n - 6^3 ) \\ &&&= 36n^2+2 \cdot 6^3 \end{align*} Therefore \(n^2 \mid 2 \cdot 6^3 = 2^4 \cdot 3^3\), therefore \(n = 1, 2, 3, 4, 6, 12\). \(n = 1\), \(1^3 <36+2\cdot 6^3\) \(n = 2\), \(2^3 <36 \cdot 4 + 2 \cdot 6^3\) \(n = 3\), \(3^3 <36 \cdot 9 + 2 \cdot 6^3\) \(n = 4\), \(4^3 < 36 \cdot 16 + 2 \cdot 6^3\) \(n = 6\), \(6^3 < 36\cdot 6^2+ 2 \cdot 6^3\) \(n = 12\), \(12^3 < 36 \cdot 12^2 + 2 \cdot 6^3\) Therefore there are no solutions \(n\) to the equation. These are both special cases of Fermat's Last Theorem, when \(n = 3\)

1996 Paper 1 Q3
D: 1500.0 B: 1486.0

Let \(n\) be a positive integer.

  1. Factorise \(n^{5}-n^{3},\) and show that it is divisible by 24.
  2. Prove that \(2^{2n}-1\) is divisible by 3.
  3. If \(n-1\) is divisible by 3, show that \(n^{3}-1\) is divisible by 9.


Solution:

  1. \(n^5 -n^3 = n^3(n-1)(n+1)\). If \(n\) is even then \(8 \mid n^3\). if \(n\) is odd then both of \(n-1\) and \(n+1\) are divisible by \(2\) and one is divisible by \(4\), so regardless \(8\) divides our expression. We can write \(n = 3k, 3k+1, 3k+2\) and in all cases our expression is divisible by \(3\). \(n = 3k \Rightarrow 3 \mid n\), \(n = 3k+1 \Rightarrow 3 \mid n-1\), \(n = 3k+2 \Rightarrow 3 \mid n+1\). Therefore \(3\) and \(8\) both divide our expression, and they are coprime so their product (24) divides our expression.
  2. \(2^{2n}-1 = (2^2-1) \cdot (1+2^2+\cdots + 2^{2n-2}) = 3 \cdot N\) therefore \(3\) divides our number.
  3. Suppose \(n-1 = 3k\) then \(n^3-1 = (3k+1)^3-1 = 27k^3 + 27k^2 + 9k\) which is clearly divisible by 9