<?xml version="1.0" encoding="ISO-8859-1" ?>
  <resource>
  <id>742</id>
  <path>/www/nrich/html/content/00/11/six5/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
Many numbers can be expressed as the difference of two perfect
squares. For example, $$20 = 6^2 - 4^2$$ $$21 = 5^2 - 2^2$$&lt;br&gt;&lt;/br&gt;
 

&lt;p&gt;How many of the numbers from $1$ to $20$ can you express as the
difference of two perfect squares?&lt;/p&gt;

&lt;h3&gt;Here are some questions to consider:&lt;/h3&gt;

&lt;p&gt;What do you notice about the difference between squares of
consecutive numbers?&lt;/p&gt;

&lt;p&gt;What about the difference when I square two numbers which differ
by $2$? By $3$? By $4$...?&lt;/p&gt;

&lt;p&gt;&lt;br&gt;&lt;/br&gt;
When is the difference between two square numbers odd?&lt;br&gt;&lt;/br&gt;
And when is it even?&lt;br&gt;&lt;/br&gt;
&lt;/p&gt;

&lt;p&gt;What do you notice about the numbers you CANNOT make?&lt;/p&gt;

&lt;br&gt;&lt;/br&gt;
 

&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Can you prove any of your
findings?&lt;/span&gt;&lt;/div&gt;

&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;You may want to take a look
at&lt;/span&gt; &lt;a href=&quot;http://nrich.maths.org/658&amp;amp;part=&quot; style=&quot;font-style: italic;&quot;&gt;Plus Minus&lt;/a&gt; &lt;span style=&quot;font-style: italic;&quot;&gt;next.&lt;/span&gt; &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Hannah from Munich International School
worked out which numbers between 1 and 20 were
possible:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
1: $1^2 - 0^2$ is $1 - 0 = 1$&lt;br&gt;&lt;/br&gt;
2: does not work&lt;br&gt;&lt;/br&gt;
3: $2^2 - 1^2$ is $4 - 1 = 3$&lt;br&gt;&lt;/br&gt;
4: $2^2 - 0^2$ is $4 - 0 = 4$&lt;br&gt;&lt;/br&gt;
5: $3^2 - 2^2$ is $9 - 4 = 5$&lt;br&gt;&lt;/br&gt;
6: does not work&lt;br&gt;&lt;/br&gt;
7: $4^2 - 3^2$ is $16 - 9 = 7$&lt;br&gt;&lt;/br&gt;
8: $3^2 - 1^2$ is $9 - 1 = 8$&lt;br&gt;&lt;/br&gt;
9: $5^2 - 4^2$ is $25 - 16 = 9$&lt;br&gt;&lt;/br&gt;
10: does not work&lt;br&gt;&lt;/br&gt;
11: $6^2 - 5^2$ is $36 - 25 = 11$&lt;br&gt;&lt;/br&gt;
12: $4^2 - 2^2$ is $16 - 4 = 12$&lt;br&gt;&lt;/br&gt;
13: $7^2 - 6^2$ is $49 - 36 = 13$&lt;br&gt;&lt;/br&gt;
14: does not work&lt;br&gt;&lt;/br&gt;
15: $8^2 - 7^2$ is $64 - 49 = 15$&lt;br&gt;&lt;/br&gt;
16: $5^2 - 3^2$ is $25 - 9 = 16$&lt;br&gt;&lt;/br&gt;
17: $9^2 - 8^2$ is $81 - 64 = 17$&lt;br&gt;&lt;/br&gt;
18: does not work&lt;br&gt;&lt;/br&gt;
19: $10^2 - 9^2$ is $100 - 81 = 19$&lt;br&gt;&lt;/br&gt;
20: $6^2 - 4^2$ is $36 - 16 = 20$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
You can express 16 of the 20 numbers as a difference of two perfect
squares. A pattern occuring throughout these solutions is that all
odd numbers can be represented by a difference of two perfect
squares, as well as all numbers resulting in an integer when
divided by four.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Joshua from St John's School used algebra
to show how odd numbers and multiples of four could be
made:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
You can make every odd number by taking consecutive squares.&lt;br&gt;&lt;/br&gt;
$(n+1)^2 - n^2 = 2n+1$, every odd number can be written in the form
$2n+1$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Similarly, you can make every multiple of 4 by taking squares with
a difference of 2.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
All other numbers you can't make:&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
$(n+x)^2 - n^2 = x^2 + 2nx = x(x+2n)$&lt;br&gt;&lt;/br&gt;
If $x$ is odd then $x^2$ is also odd and $2nx$ is even. An odd plus
an even is odd.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 If $x$ is even then $x^2$ is a multiple of $4$ and $2nx$ is also a
multiple of $4$ so $(n+x)^2 - n^2$ is a multiple of $4$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Numbers such as 2,6,10 etc can't be made because these are made by
multiplying an even by an odd.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Patrick from Woodbridge School and Richard
from Mearns Castle School both used a formula for the difference of
two squares to investigate which numbers were possible. Here is
Patrick's solution:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
$a^2 - b^2= (a + b)(a - b)$&lt;br&gt;&lt;/br&gt;
Thus, a number $n$ can only be a difference of two squares if it
has two factors of the form $(a + b)$ and $(a - b)$, where $a + b
\geq \sqrt{n}$ and $a - b \leq \sqrt{n}$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If $1$ could be written as the difference of squares then $(a + b)
= (a - b) = 1$, as the only factor of $1$ is $1$.&lt;br&gt;&lt;/br&gt;
 Thus, $a = 1$ and $b = 0$. So $1 = 1^2 - 0^2$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 If $2$ could be written as the difference of two squares then $(a
+ b) = 2$ and $(a - b) = 1$, as $2$ is prime, and clearly $a - b
&amp;lt; a + b$ for positive $b$.&lt;br&gt;&lt;/br&gt;
Thus, solving the simultaneous equations, $b = 2 - a$, so $a - (2 -
a) = 1$, $2a = 3$ and $a = \frac{3}{2}$. Thus, $2$ is not
representable as the difference of two integer squares.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 This method can be generalised for any prime $p$ by solving $(a +
b) = p$ and $(a - b) = 1$&lt;br&gt;&lt;/br&gt;
Adding the equations gives $2a = p + 1$, so $a = \frac{p+1}{2}$.
Since $a - b = 1$, $b = a-1$, so $b = \frac{p+1}{2} - 1 =
\frac{p-1}{2}$. Thus, any odd prime can be written as the
difference of two squares.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Any square number $n$ can also be written as the difference of two
squares, by taking $a = \sqrt{n}$ and $b = 0$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Generally, a number can be written as the difference of two squares
if it has two factors of the same parity, since if $a + b$ is odd
and $a - b$ is even, when the two equations are added we would get
$2a$ odd, so the solution would not be an integer. So a number
cannot be written as a difference of two squares if and only if it
is equivalent to $2$ mod $4$ (leaves a remainder of $2$ when
divided by $4$).&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;span class=&quot;editorial&quot;&gt;Richard from Comberton Village College
considered prime factorisation:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
An integer $x$ can be written as the difference between two square
integers unless it contains only one $2$ in its prime power
factorisation.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 Proof: $x=a^2 - b^2$ can be rewritten in the form
$(a+b)(a-b)$.&lt;br&gt;&lt;/br&gt;
Suppose $u$ and $v$ are two factors of $x$ such that $u = a + b$
and $v = a - b$.&lt;br&gt;&lt;/br&gt;
Subtracting the two equations, we get $u - v = 2b$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This tells us that the difference between the two factors will
always be even if the number can be written in this form.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 Now, to get an even difference, we either need $u$ and $v$ to be
both odd, or both even. Therefore, any number with either two even
or odd factors can be written in this form.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This leaves numbers which will always have one odd and one even
factor.&lt;br&gt;&lt;/br&gt;
 If $v$ is an odd factor of $x$, it must have a prime factorisation
of only odd numbers.&lt;br&gt;&lt;/br&gt;
Suppose $u$ is an even factor of $x$ and contains more than one $2$
in its prime factorisation. &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This means that $u$ could be divided by two and still be even, and
at the same time $v$ could be doubled so that it too is even. This
means that $x$ has a factor pair which are both even, and so can be
written as the difference of two squares.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If both factors are odd an even difference will also be attained,
so if there are no twos in the prime factorisation of $x$, then x
can be written as the difference of two squares.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This leaves the case where there is exactly one $2$ in the prime
factorisation. This means that one factor must contain the $2$ and
not the other, and that the factors cannot be manipulated in the
fashion described before. This will always leave factors with an
odd difference suggesting $x$ cannot be written as the difference
of two squares.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This also gives a very nice algorithm for finding two squares which
have a difference of $x$:&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
1. Establish how many $2$s are in the prime factorisation of $x$.
If there is only one, x cannot be written as the difference of two
squares.&lt;br&gt;&lt;/br&gt;
 2. Choose a factor pair which are both even or both odd, call them
$u$ and $v$. Find their difference and divide it by 2 to find the
smaller square. $\frac{u - v}{2}=b$ from before.&lt;br&gt;&lt;/br&gt;
3. Square $b$ and add it to $x$. Square root the sum and that is
$a$.&lt;br&gt;&lt;/br&gt;
We now have $x = a^2 - b^2$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
For example, $60 = 2 \times 2 \times 3 \times 5$. There is more
than one 2 so it is possible.&lt;br&gt;&lt;/br&gt;
The two factors $2 \times 5 = 10$ and $2 \times 3 = 6$ give a
difference of 4. Halve it to get $b = 2$.&lt;br&gt;&lt;/br&gt;
$x + b^2 = 60 + 4 = 64$. $\sqrt{64} = 8$, so $a = 8$.&lt;br&gt;&lt;/br&gt;
This gives us $60 = 8^2 - 2^2$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
We could also have taken $u = 2 \times 3 \times 5$ and $v = 2$,
which gives a difference of 28. Halve it to get $b=14$.&lt;br&gt;&lt;/br&gt;
$x + b^2 = 60 + 196 = 256$.&lt;br&gt;&lt;/br&gt;
$\sqrt{256} = 16$ so $a = 16$.&lt;br&gt;&lt;/br&gt;
$16^2 - 14^2 = 60$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML>&lt;mdoxml version=&quot;1.0&quot;&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Why do this problem?&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;http://nrich.maths.org/742&quot;&gt;This problem&lt;/a&gt; starts by asking students to find which numbers can be expressed as the difference of two square numbers, and then suggests some possible avenues for exploration. This can then be used as a springboard to generalisations and the use of algebra for justifications and proof. Along the way, students have the opportunity to make use of the
important identity $a^2 - b^2 = (a + b)(a - b)$.&lt;/p&gt;
&lt;h3&gt;Possible approach&lt;/h3&gt;
&lt;div&gt;Arrange the class in groups of two or three, and hand each group one set from &lt;a href=&quot;/content/00/11/six5/What%27s%20Possible.doc&quot;&gt;these cards&lt;/a&gt;. Ask them to work in their groups for the first few minutes, looking at what they notice about their three cards, whether they could create other cards that would belong in the same set, and what questions are prompted by them.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Next, bring the class together to share what was on their cards, and what questions occurred to them. Do any of their questions resolve themselves once they see someone else&amp;#39;s cards? Make sure conjectures and questions are noted on the board.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;One way to begin to resolve these conjectures and provoke new ones is to challenge students to find numbers between $1$ and $30$ which can be expressed as the difference between two square numbers. Encourage them to find more than one solution where possible, and draw attention to systematic ways of working and recording. Once everyone has had some time to find most of the answers,
ask students to share what they have found and tabulate the answers on the board. Note down any new conjectures that emerge at this point.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Allow students to choose a line of enquiry, working on their own or in small groups. The emphasis should be on proving any conjectures they make, whether using diagrams or more formal algebraic methods. A diagrammatic method for calculating the difference of two squares is explored in the problem &lt;a href=&quot;http://nrich.maths.org/658&amp;amp;part=&quot;&gt;Plus Minus&lt;/a&gt;.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;The plenary can involve students presenting their findings to the rest of the class. Expect students to be clear and rigorous in their justifications. Encourage students to challenge any proofs that lack clarity and rigour, and suggest ways of improving them.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
One way to round off the work on this problem could be:&lt;br&gt;&lt;/br&gt;
&amp;quot;In a while, I&amp;#39;m going to give you a number and ask you to quickly find one or more ways to write it as the difference of two squares, or to convince me that it can&amp;#39;t be done.&amp;quot;&lt;/p&gt;
&lt;h3&gt;Key questions&lt;/h3&gt;
&lt;div&gt;What do you notice about the difference between squares of consecutive numbers?&lt;/div&gt;
&lt;div&gt;What about the difference when I square two numbers which differ by $2$? By $3$? By $4$ ...?&lt;/div&gt;
&lt;div&gt;When is the difference between two square numbers odd?&lt;/div&gt;
&lt;div&gt;And when is it even?&lt;/div&gt;
&lt;div&gt;What do you notice about the numbers you CANNOT make?&lt;/div&gt;
&lt;div&gt;Can you prove any of your findings?&lt;/div&gt;
&lt;h3&gt;Possible extension&lt;/h3&gt;
&lt;div&gt;Every &lt;span style=&quot;font-weight: bold;&quot;&gt;odd&lt;/span&gt; prime number can be written as the difference of two squares. Prove that there is only one way to write an odd prime number as the difference of two squares, and that this is the difference of two successive squares.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;120 can be written as the difference of the squares of whole numbers in the following ways:&lt;/div&gt;
&lt;div&gt;$$31^2-29^2$$&lt;/div&gt;
&lt;div&gt;$$17^2-13^2$$&lt;/div&gt;
&lt;div&gt;$$13^2-7^2$$&lt;/div&gt;
&lt;div&gt;$$11^2-1^2$$&lt;/div&gt;
&lt;div&gt;Can you find all the possible ways to write 924 as the difference of the squares of two whole numbers? Can you prove that you have found them all?&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;*REALLY CHALLENGING*&lt;/div&gt;
&lt;div&gt;Can you describe a way for working out how many ways there are to write &lt;span style=&quot;font-weight: bold;&quot;&gt;any&lt;/span&gt; number as the difference of two squares?&lt;/div&gt;
&lt;h3&gt;Possible support&lt;/h3&gt;
&lt;div&gt;Encourage students to list their results in a systematic way, gathering together in separate columns numbers made from squaring two numbers which differ by $1$, $2$, $3$... as started below:&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td style=&quot;text-align: center;&quot;&gt;1&lt;/td&gt;
&lt;td style=&quot;text-align: center;&quot;&gt;2&lt;/td&gt;
&lt;td style=&quot;text-align: center;&quot;&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;$1^2-0^2$&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;$2^2-1^2$&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;$2^2-0^2$&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;$3^2-2^2$&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;$4^2-3^2$&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;$3^2-1^2$&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;$5^2-4^2$&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;$3^2-0^2$&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;

&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;mdoxml version=&quot;1.0&quot;&gt;You may find this image helpful when proving your findings.&lt;br&gt;&lt;/br&gt;
 &lt;mdo:image height=&quot;280&quot; width=&quot;282&quot; src=&quot;whatsposs.png&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt;&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
We have to find all possible integer values of a and b where the
difference of the squares of $a$ and $b$ is $924$ and then we have
to discover which numbers CANNOT be written as the difference of
two perfect squares?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
The use of a spreadsheet lends itself to systematic exploration of
number, in this case squares and differences of squares. Students
from Bourne Grammar School who worked hard on this question would
have gone further had they used spreadsheets.&lt;br&gt;&lt;/br&gt;

&lt;p&gt;We know that&lt;/p&gt;
&lt;p&gt;$$(a^2 - b^2) = (a - b)(a + b)$$&lt;/p&gt;
&lt;p&gt;It is always true that $(a - b)$ and $(a + b)$ must both be even
or both odd. If they are both even then the product is a multiple
of $4$. If they are both odd then the product is odd. So even
numbers which are not multiples of $4$ cannot be written as the
difference of two squares.&lt;/p&gt;
&lt;p&gt;As $924 = 2 \times2 \times3 \times7 \times11$ we know that $(a -
b)$ and $(a + b)$ must both be even. From this we can write down
and solve pairs of simple equations to find $a$ and $b$ using all
the combinations of prime factors of $924$ which give pairs of even
factors.&lt;/p&gt;
&lt;p&gt;The solution below from Soh Yong Sheng, Raffles Institution,
Singapore uses a different method based on the fact that the square
of any number is the sum of consecutive odd numbers&lt;/p&gt;
&lt;p&gt;$$n^2 = 1 + 3 + 5 + ... (2n - 1)$$&lt;/p&gt;
&lt;p&gt;and so the difference of two squares is the sum of consecutive
odd numbers.&lt;/p&gt;
&lt;p&gt;Many numbers can be expressed as differences of 2 squares, but
exactly which? It is known that&lt;/p&gt;
&lt;p&gt;$1=1 (1^2)$&lt;br&gt;&lt;/br&gt;
$1+3=4 (2^2)$&lt;br&gt;&lt;/br&gt;
$1+3+5=9 (3^2)$&lt;br&gt;&lt;/br&gt;
$1+3+5+7=16 (4^2)$&lt;br&gt;&lt;/br&gt;
$\ldots$&lt;br&gt;&lt;/br&gt;
$1+3+\ldots+n= ((n+1)/2)^2 $&lt;/p&gt;
&lt;p&gt;Using this, we try to find the sums of consecutive odd numbers
that add up to $924$ which will tell us $a$ and $b$.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Case of $2$ odds&lt;/u&gt;&lt;br&gt;&lt;/br&gt;
$924 = 461 + 463$&lt;br&gt;&lt;/br&gt;
$a= 464/2 = 232$, $a^2 = 53824$, $b= 230$, $b^2 = 52900$. One
possible solution.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Case of $4$ odds&lt;/u&gt;&lt;br&gt;&lt;/br&gt;
$924 = 229 + 231 + 231 + 233$ so this is impossible.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Case of $6$ odds&lt;/u&gt;&lt;br&gt;&lt;/br&gt;
$924=149+151+153+155+157+159$&lt;br&gt;&lt;/br&gt;
$a = (159 + 1)/2 = 80$, $a^2 = 6400$, $b = (149-1)/2 = 74$, $b^2 =
5476$. A possible solution.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Cases of $8$, $10$ and $12$ odds&lt;/u&gt; impossible&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Case of $14$ odds&lt;/u&gt;&lt;br&gt;&lt;/br&gt;
$924=53+55+57+59+61+63+65+67+69+71+73+75+77+79$&lt;br&gt;&lt;/br&gt;
$a= 80/2 = 40$, $a^2 = 1600$, $b = (53-1)/2= 26$, $262 = 676$.
Another solution.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Cases of $16$, $18$ and $20$ odds&lt;/u&gt; are impossible&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Case of $22$ odds&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;
$924=21+23+25+27+29+31+33+35+37+39+41+43+45+47+49+51+53+55+57+59+61+63$&lt;br&gt;&lt;/br&gt;

$a = 64/2 =32$, $a^2 = 1024$, $b = (21-1)/2$, $b^2 = 100$ Another
solution.&lt;/p&gt;
&lt;p&gt;This gives the pairs $(232, 230)$, $(80, 74)$, $(26, 40)$ and
$(64,10)$&lt;/p&gt;
&lt;p&gt;The solutions can also be negative integers $a = \pm232$ and $b
= \pm 230$ etc. giving sixteen solutions in all.&lt;/p&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>4</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>What's Possible?</title>
  <description>Many numbers can be expressed as the difference of two perfect
squares. What do you notice about the numbers you CANNOT make?</description>
  <spec_group>Algebra
    <specifier>Creating expressions/formulae</specifier>
  </spec_group>
  <spec_group>Algebra
    <specifier>Using symbols</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Generalising</specifier>
  </spec_group>
  <spec_group>Algebra
    <specifier>Difference of two squares</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Making and proving conjectures</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>smartphone</specifier>
  </spec_group>
</resource>