Today's question isn't long and isn't hard, but it makes you think a little. Tomorrow I'll have a nicer question, with an ellipse. Until then, you'll have to work your mind on digits.
In a two digit number, the units digit is bigger than the tens digit by 4. First, you add 1 between the two digits and call it x. Then, you add 5 to the right of the units digit of the original number and call it y. x + y = 692. What is the two digit number?
Let's take this step by step:
First, the original number is _ _.
x is _ 1 _
y is _ _ 5
x + y is 692
Now we can find the values of the units digit, since we know that the units digit + 5 gives 12 (it can't give 2, obviously). This makes the units digit 7.
x is _ 1 7
y is _ 7 5
As you can see, adding the two numbers will leave the hundreds digits untouched. As a result, the two hundreds digits, which are equal, must add up to 6. This makes the hundreds digit 3.
The two numbers are 317 and 375, and the original number is 37.
Short, nice, easy. Tomorrow will be a little harder, I promise.
Nadav
nadavs
Wednesday, June 25, 2008
Missing Middle Digits
Saturday, May 17, 2008
Magic C
For today's question, I took another Yahoo Answers great question to give you the opportunity to solve a nice question. Here it comes:
The digits from 1 to 5 should be placed on a C shaped form like this:
x-x
x
x-x
(Each x represents a different digit)
The two horizontal rows (x-x) and the vertical row with three x's should have the same sum of digits.
In how many ways can this be done (reflections don't count as different), and why there are no other possibilities?
We can see at first that in order to fill in the digits, we need to find two pairs of digits that add up to the same number (the two x-x). There are three numbers that work like that: 5 (1+4, 2+3), 6 (2+4, 1+5), and 7 (3+4, 2+5).
However, 5 is impossible as a sum, since it leaves the digit 5 outside, which means it'll be in the middle x, creating a sum definitely greater than 5. We are left with only 6 and 7 as sums. After some playing with arrangements, we can see that the two solutions are:
For 6:
1-5
3
2-4
For 7:
2-5
1
4-3
There are no other possibilities because all other sums (except 5) have a maximum of one pair that works for them, and we already showed why 5 doesn't work.
Now it's your turn. Send in the riddles!
Have a great weekend,
Nadav
nadavs
Friday, May 16, 2008
Digit In-A-Box
For today I have another question from Yahoo Answers. It's very original and interesting, and even worth trying out before going over to the answer.
Joe and Joana are playing a game. Joana is picking up between 2-9 boxes and puts a digit in each box, so the number that comes out when the digits are read from left to right is divisible by the number of boxes. For example, if Joana picks 4 boxes, she can use the digits 1,2,7,9 to create the number 1972, but not 7129. Joe must switch any two boxes that he wants. If the number is still divisible by the number of boxes, Joe wins. Otherwise, Joana wins. What number of boxes Joana must pick to always win?
This calls out for some divisibility rules. Let's see how Joe can always win for a number of boxes, and we'll start with 9:
9: it doesn't matter which boxes Joe moves, he wins. When a number is divisible by 9, the sum of its digits is also divisible by 9. Since addition is commutative, it doesn't matter which order the digits are: their sum will remain the same and they'll be divisible by 9.
8: the divisibility of a number by 8 depends on its last 3 digits. As long as Joe doesn't touch the last three digits, the number will be divisible by 8.
7: This is quite tricky, because it doesn't use the divisibility rule of 7 (which you can find on super math tips and tricks), but simple math. Since Joana uses 7 boxes here, there are 7 digits, and the number can be written as a sum:
1000000a + 100000b + 10000c + 1000d + 100e + 10f + g
When we replace the first and last digit, we subtract g and add 1000000g and also subtract 1000000a and add one a. This means the total operation is:
+1000000g - g - 1000000a + a = +999999g - 999999a = 999999(g - a).
Luckily for Joe, 999,999 is divisible by 7, so 999999(g - a) is also divisible by 7. That way, Joe adds or subtracts from a number divisible by 7 another number divisible by 7, and doesn't change its divisibility.
6: a number is divisible by 6 if it's divisible by 3 and 2, which means the sum of its digits must by divisible by 3 and it must be even. As long as Joe doesn't touch the last digit, he wins.
5: a number is divisible by 5 if the last digit is either 5 or 0, so as long as Joe doesn't touch the last digit, he wins.
4: a number's divisibility by 4 is determined by its last two digits, so Joe must replace only the first two to win.
3: a number is divisible by 3 if the sum of its digits is divisible by 3, so just like 9, Joe can switch any boxes he wants.
2: a number is divisible by 2 if it ends with 2, 4, 6, 8, or 0. However, since Joe MUST switch two boxes, Joana may pick an even number with one odd digit, like 74. When Joe switches the boxes, he'll get 47, which is odd, so Joana wins.
The final answer: Joana must use a 2-digit number to win.
And a final notice: I added a sign up form for Super Math Tips on the right column of this blog, for easy access.
Have a great weekend,
Nadav
nadavs