| Exam Board | OCR MEI |
|---|---|
| Module | Further Pure with Technology (Further Pure with Technology) |
| Year | 2019 |
| Session | June |
| Marks | 20 |
| Paper | Download PDF ↗ |
| Mark scheme | Download PDF ↗ |
| Topic | Number Theory |
| Type | Programming tasks |
| Difficulty | Challenging +1.8 This is a substantial Further Maths question combining Pell's equation theory with programming. Part (a) requires modular arithmetic proof (straightforward), parts (b-c) need basic programming (routine), part (d) involves algebraic manipulation to discover the fundamental solution generates others (moderately challenging), and part (h) requires connecting two problems to prove infinitude (insightful). The multi-part structure and need to synthesize programming results with theoretical proof places it well above average, though the individual components are accessible to Further Maths students. |
| Spec | 8.02e Finite (modular) arithmetic: integers modulo n8.02f Single linear congruences: solve ax = b (mod n) |
| Answer | Marks | Guidance |
|---|---|---|
| 2 | (a) | Suppose x2 – 2y2 = 1 where x and y are |
| Answer | Marks |
|---|---|
| y is even | B1 |
| Answer | Marks |
|---|---|
| [3] | 2.1 |
| Answer | Marks |
|---|---|
| 2.1 | For x2 is odd, conclusion (allow |
| Answer | Marks |
|---|---|
| (b) | Example code for Python |
| Answer | Marks |
|---|---|
| print(x,y) | M1 |
| Answer | Marks |
|---|---|
| [3] | 3.3 |
| Answer | Marks |
|---|---|
| 2.5 | Pseudo code accepted, condone |
| Answer | Marks |
|---|---|
| (c) | x = 3 y = 2 |
| Answer | Marks | Guidance |
|---|---|---|
| cao | B1 | |
| [1] | 1.1b | Set s to 600 in the above. Ignore |
| Answer | Marks |
|---|---|
| (d) | For the smallest solution |
| Answer | Marks |
|---|---|
| above the other solutions are found. | M1 |
| Answer | Marks |
|---|---|
| [4] | 2.1a |
| Answer | Marks |
|---|---|
| 2.4 | Substituting x = 3, y = 2 (or |
| Answer | Marks |
|---|---|
| (e) | n n |
| Answer | Marks | Guidance |
|---|---|---|
| positive integer solutions x,y | B1 | |
| [1] | 2.2a | Infinitely many solutions. |
| (f) | Example code for Python |
| Answer | Marks |
|---|---|
| print(m,n) | M1 |
| Answer | Marks |
|---|---|
| [2] | 2.1 |
| 2.5 | Pseudo code accepted, condone |
| Answer | Marks |
|---|---|
| (g) | m = 1 n = 1 |
| Answer | Marks | Guidance |
|---|---|---|
| cao | B1 | |
| [1] | 1.1b | Set s = 300 in the above. Ignore |
| Answer | Marks |
|---|---|
| (h) | Comparing answers to (c) and (g) suggests that, if x, y is a |
| Answer | Marks |
|---|---|
| numbers which are square. | M1* |
| Answer | Marks |
|---|---|
| [5] | 3.1a |
| Answer | Marks |
|---|---|
| 3.2a | Relationship between pairs in (c) |
Question 2:
2 | (a) | Suppose x2 – 2y2 = 1 where x and y are
integers.
Then x2 = 2y2 + 1 and so x2 is odd and
therefore x is odd.
So x = 2t + 1 for some integer t and
2y2 = (2t + 1)2 – 1 = 4t2 + 4t.
Thefore y2 = 2t2 + 2t is even and so y is even.
Alternative version
Suppose x2 – 2y2 = 1 where x and y are
integers.
Then x2 = 2y2 + 1 and so x2 is odd and
therefore x is odd.
So
x1 (mod 4) or x3 (mod 4)
x2 1 (mod 4)
x210 (mod 4)
2y2 0 (mod 4)
y2 is even
y is even | B1
M1
E1
[3]
B1
M1
E1
[3] | 2.1
2.1
2.1
2.1
2.1
2.1 | For x2 is odd, conclusion (allow
suitable mod 2 argument)
For 2y2 is a multiple of 4
For y2 is even and conclusion.
For x2 is odd, conclusion (allow
suitable mod 2 argument)
For 2y2 ≡ 0 (mod 4).
For y2 is even and conclusion.
(b) | Example code for Python
for x in range(1,s+1):
for y in range(1,s+1):
if x*x-2*y*y==1:
print(x,y) | M1
M1
A1
[3] | 3.3
2.1
2.5 | Pseudo code accepted, condone
lack of syntax, give reasonable
BOD on possible transcription
errors and consider a correct
answer to 2(c) as evidence of a
correct prog.
At least one correct loop
Appropriate conditional statement
Complete prog
(c) | x = 3 y = 2
x = 17 y = 12
x = 99 y = 70
x = 577 y = 408
cao | B1
[1] | 1.1b | Set s to 600 in the above. Ignore
x = 1, y = 0 if seen.
(d) | For the smallest solution
32222 [1]
32 2 32 2 [1]
2 2
32 2 32 2 1
1712 2 1712 2 1
So the next solution is x = 17, y = 12
By cubing and taking the fourth power of the second line
above the other solutions are found. | M1
M1
A1
E1
[4] | 2.1a
2.1a
2.1a
2.4 | Substituting x = 3, y = 2 (or
square and simplify the given
algebraic expression)
Squaring and
expanding/simplifying
(or substitute x = 3, y = 2 if
previous step done algebraically)
Stating that this means x = 17, y =
12 is a solution or rearranging to
172 – 2 × 122 = 1
(e) | n n
32 2 32 2 1 simplified gives a solution for any
positive integer n. So the equations has infinitely many
positive integer solutions x,y | B1
[1] | 2.2a | Infinitely many solutions.
(f) | Example code for Python
for m in range(1,s+1):
for n in range(1,s+1):
if m*(m+1)==2*n*n: (oe)
print(m,n) | M1
A1
[2] | 2.1
2.5 | Pseudo code accepted, condone
lack of syntax, give reasonable
BOD on possible transcription
errors and consider a correct
answer to 2(g) as evidence of a
correct prog.
At least one correct loop and
conditional statement
Complete program
(g) | m = 1 n = 1
m = 8 n = 6
m = 49 n = 35
m = 288 n = 204
cao | B1
[1] | 1.1b | Set s = 300 in the above. Ignore
m = 0, n = 0 if seen.
(h) | Comparing answers to (c) and (g) suggests that, if x, y is a
solution of x22y2 1 in which x, y are positive integers,
x1 y
then m ,n satisfy T = n2
m .
2 2
Since x is odd, m is an integer.
Since y is even, n is an integer.
x1x1
2 2 x21
T
m
2 8
y2
n2
4
Since x22y2 1, we have 8T = 8n2 and so
m
T = n2 as required.
m
Since there are infinitely many positive integer solutions to
x22y2 1 (part (v)) there are infinitely many triangular
numbers which are square. | M1*
M1
M1
M1
B1(de
p*)
[5] | 3.1a
2.1
2.4
2.1
3.2a | Relationship between pairs in (c)
and pairs in (g).
Allow x = 2m + 1, y = 2n
Seen in part (a).
Substitutions into T and n2.
m
Allow substitution of x = 2m + 1,
y = 2n into x22y2 1.
Verification that x22y2 1
leads to T = n2.
m
Reference to part (e). Do not
allow if only converse argument
seen (i.e. a solution of T = n2
m
gives a solution of
x2 – 2y2 =1).
2
\begin{enumerate}[label=(\alph*)]
\item Prove that if $x$ and $y$ are integers which satisfy $x ^ { 2 } - 2 y ^ { 2 } = 1$, then $x$ is odd and $y$ is even.
\item Create a program to find, for a fixed positive integer $s$, all the positive integer solutions $( x , y )$ to the equation $x ^ { 2 } - 2 y ^ { 2 } = 1$ where $x \leqslant s$ and $y \leqslant s$. Write out your program in the Printed Answer Booklet.
\item Use your program to find all the positive integer solutions $( x , y )$ to the equation $x ^ { 2 } - 2 y ^ { 2 } = 1$ where $x \leqslant 600$ and $y \leqslant 600$. Give the solutions in ascending order of the value of $x$.
\item By writing the equation $x ^ { 2 } - 2 y ^ { 2 } = 1$ in the form $( x + \sqrt { 2 } y ) ( x - \sqrt { 2 } y ) = 1$ show how the first solution (the one with the lowest value of $x$ ) in your answer to part (c) can be used to generate the other solutions you found in part (c).
\item What can you deduce about the number of positive integer solutions $( x , y )$ to the equation $x ^ { 2 } - 2 y ^ { 2 } = 1$ ?
In the remainder of this question $T _ { m }$ is the $m ^ { \text {th } }$ triangular number, the sum of the first $m$ positive integers, so that $T _ { m } = \frac { m ( m + 1 ) } { 2 }$.
\item Create a program to find, for a fixed positive integer $t$, all pairs of positive integers $m$ and $n$ which satisfy $T _ { m } = n ^ { 2 }$ where $m \leqslant t$ and $n \leqslant t$. Write out your program in the Printed Answer Booklet.
\item Use your program to find all pairs of positive integers $m$ and $n$ which satisfy $T _ { m } = n ^ { 2 }$ where $m \leqslant 300$ and $n \leqslant 300$. Give the pairs in ascending order of the value of $m$.
\item By comparing your answers to part (c) and part (g), or otherwise, prove that there are infinitely many triangular numbers which are perfect squares.
\end{enumerate}
\hfill \mbox{\textit{OCR MEI Further Pure with Technology 2019 Q2 [20]}}