Puzzles
Ten digit number
Can you create a 10-digit number, where the first digit is how many zeros in the number, the second digit is how many 1s in the number etc. until the tenth digit which is how many 9s in the number?
Mrs. Coldcream objected
"I object," said Councillor Mrs. Coldcream. "I see no reason why the boys should be so favoured at the expense of the girls."
This was at a meeting of the Holmshire Education Committee. It had been proposed to award 19 scholarships totalling £1000 to boys and girls of the county. It had been proposed that each girl receive a set amount and each boy receive £30 more than each girl.
Mrs. Coldcream pressed her point with such fervour that it was decided to reallocate the money. Each girl would receive £8 more than originally proposed, with the boys' scholarships scaled down accordingly.
How much did each boy and each girl receive?
Show answer & extension
Hide answer & extension
Let \(G\) be the number of girls, and £\(x\) be the amount each girl was originally to receive. This means that there are \(19-G\) boys who were to receive £\(x+30\). The total scholarship is £1000, so:
$$xG+(x+30)(19-G)=1000$$
This simplifies to:
$$19x-30G=430$$
\(G\) is less than 19, so the only integer solution of this equation is \(x=40\) and \(G=11\).
After the funds are redistributed, each girl therefore receives £48. Let \(B\) be the amount each boy will now receive. The total is still £1000, so:
$$48\times 11+8B=1000$$
Which can be solved to find \(B=59\).
Each girl receives £48 and each boy receives £59.
Extension
Mrs. Coldcream still feels that this is unfair. How much more should be added to each girl's scholarship (resizing the boys' accordingly) so that the girls get at least as much as the boys?
Cooked turkey
An old invoice showed that seventy-two turkeys had been purchased for "—67.9—". The first and last digits were illegible.
How much did one turkey cost?
Show answer & extension
Hide answer & extension
Let the first digit be \(a\) and the final digit be \(b\). The cost of the 72 turkeys (in pence) is \(10000a+6790+b\). This must be divisible by 72.
$$10000a+6790+b=(138\times 72+64)a+(94\times 72+22)+b$$
$$=(138a+94)\times 72+64a+22+b$$
\(10000a+6790+b\) is divisible by 72, so \(64a+22+b\) is divisible by 72. This means that \(b\) must be even (as 64,22,72 are all even). Let \(b=2c\).
Dividing by two, we find that \(32a+11+c\) is divisible by 36. \(c\) must be odd, so that \(32a+11+c\) is even. Let \(c=2d+1\) and so \(b=4d+2\).
Dividing by two again, we find that \(16a+6+d\) is divisible by 18. \(d\) must be even, so that \(16a+6+d\) is even. Let \(d=2e\) and so \(b=8e+2\). But \(b\) is a single digit number, so \(e=0\), \(b=2\) and \(16a+6\) is divisible by 18.
Dividing by two yet again, we find that \(8a+3\) is divisible by 9. \(a\) must be divisible by 3. Let \(a=3f\).
Dividing by three, we find that \(8f+1\) is divisible by 3. \(8f+1=6f+2f+1\) so \(2f+1\) is divisible by 3. This will be true when \(f=1,4,7,10,...\). \(a\) must be a single digit, so \(f=1\) and \(a=3\). And so the price of the 72 turkeys is £367.92, and one turkey will cost £5.11.
Extension
Which numbers could 72 be replaced with in the original problem so that the problem still has a unique solution?
Coming and going
In my house are a number of rooms. (A hall separated from the rest of the house by one or more doors counts as a room.) Each room has an even number of doors, including doors that lead outside. Is the total number of outside doors even or odd?
Show answer & extension
Hide answer & extension
Add up the number of doors leaving each room; call the sum
\(S\).
As
the number in each room is even, \(S\) will be even. Each interior door
has
been counted twice (as they can be seen in two rooms) and each exterior
door has been counted once. Let \(I\) be the number of interior doors
and
\(E\)
be the number of exterior doors. We have:
$$S=2I+E$$
$$E=S-2I$$
\(S\) and \(2I\) are even, so \(E\) must be even.
Extension
If the number of doors in each room is odd, is the number of
exterior doors odd or even?
Wool circles
\(n\) people stand in a circle. The first person takes a ball of
wool, holds the end and passes the ball to his right, missing a
people. Each person who receives the wool holds it and passes the
ball on to their right, missing \(a\) people. Once the ball returns to
the first person, a different coloured ball of wool is given to
someone who isn't holding anything and the process is repeated. This is
done until everyone is holding wool.
For example, if \(n=10\) and \(a=3\):
In this example, two different coloured balls of wool are needed.
In terms of \(n\) and \(a\), how many different coloured balls of
wool
are
needed?
Show answer & extension
Hide answer & extension
Starting with the person who starts with the wool and
going anti-clockwise, number the people \(0,1,2,3,4,...\). As the
wool is passed, it will be held by people with numbers:
$$0,a+1,2(a+1),3(a+1),...,k(a+1),...$$
The first person will have the wool again when
$$k(a+1)\equiv 0 \mathrm{\ \ mod\ } n$$
or
$$k(a+1)=ln.$$
This will first occur when (hcf is highest common factor):
$$l=\frac{a+1}{\mathrm{hcf}(a+1,n)}\mathrm{\ \ and\ \ }k=\frac{n}{\mathrm{hcf}(a+1,n)}$$
\(k\) is also the number of people who are holding the wool. So
the number of different coloured balls needed is:
$$\frac{n}{\left(\frac{n}{\mathrm{hcf}(a+1,n)}\right)}$$
$$=\mathrm{hcf}(a+1,n)$$
Extension
The ball is passed around the circle of \(n\) people again. This
time,
the number of people missed alternates between \(a\) and \(b\). How many
different coloured balls of wool are now needed?
Sum equals product
\(3\) and \(1.5\) are a special pair of numbers, as \(3+1.5=4.5\)
and
\(3\times 1.5=4.5\) so \(3+1.5=3\times 1.5\).
Given a number \(a\), can you find a number \(b\) such that
\(a+b=a\times b\)?
Show answer & extension
Hide answer & extension
If \(a+b=a\times b\), then:
$$ab-b=a$$
$$b(a-1)=a$$
$$b=\frac{a}{a-1}$$
This will work for any \(a\not=1\) (\(a=1\) will not work as this
will
mean
division by zero).
Extension
(i) Given a number \(a\), can you find a number \(b\) such that
\(b-a=\frac{b}{a}\)?
(ii) Given a number \(a\), can you find a number \(b\) such that
\(b-a=\frac{a}{b}\)?
(iii) Given a number \(a\), can you find a number \(b\) such that
\(a-b=\frac{b}{a}\)?
(iv) Given a number \(a\), can you find a number \(b\) such that
\(a-b=\frac{a}{b}\)?
Multiples of three
If the digits of a number add up to a multiple of three, then the number is a multiple of three. Therefore if a two digit number, \(AB\) (first digit \(A\), second digit \(B\); not \(A\times B\)), is a multiple of three, then \(A0B\) is also a multiple of three.
If \(AB\div 3=n\), then what is \(A0B\div 3\)?
Seven digits
"I'm thinking of a number. I've squared it. I've squared the square. And I've multiplied the second square by the original number. So I now have a number of seven digits whose final digit is a 7," said Dr. Dingo to his daughter.
Can you work out Dr. Dingo's number?
Show answer & extension
Hide answer & extension
Let's call Dr. Dingo's number \(n\). If the number is squared twice then multiplied by \(n\), we get \(n^5\).
For all integers \(n\), the final digit of \(n^5\) is the same as the final digit of \(n\). In other words:
$$n^5\equiv n \mod 10$$
Therefore, the final digit of Dr. Dingo's number is 7.
$$7^5=16807$$
$$17^5=1419857$$
$$27^5=14348907$$
So, in order for the answer to have seven digits, Dr. Dingo's number was 17.
Extension
For which integers \(m\) does there exist an integer \(n\) such that for all integers \(x\):
$$x^n\equiv x \mod m$$