7 3 8 can be written as a + a a + a a a . If 6 a = 9 b , find b .
Details and Assumptions
The line above a number indicates the concatenation of integers. For example, if c = 5 , d = 7 , e = 9 , then c d e = 5 7 9 .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
How did you get that equation 738=a+(10a+a)=(100a+10a+a) ?
Log in to reply
From the equation given in problem 7 3 8 = a + a a + a a a The definition of a decimal representation of a number gives a + a a + a a a = 1 2 3 × a
I don't understand your question a ˉ + a a ˉ + a a a ˉ = ( a ) + ( 1 0 a + a ) + ( 1 0 0 a + 1 0 a + a )
A number which is finished by 8 needs a number a where 3 a is also finished by 8 , because a + a + a = 8 . A number that fits in these circumstances is the 6 .
So: 6 + 6 6 + 6 6 6 = 7 3 8
To find b, just calculate the expression 6 × 6 = 9 b Then, the answer is b = 4
Python 2.7:
1 2 3 4 5 6 7 8 |
|
Nice code, but I would just think this one through.
Log in to reply
Yeah, I know, my first instinct as a programmer is always brute force though.
a a a ˉ = 1 0 0 a + 1 0 a + a a a ˉ = 1 0 a + a a ˉ = a
We have :
a a a ˉ + a a ˉ + a ˉ = 7 3 8
Rewriting
1 0 0 a + 1 0 a + a + 1 0 a + a + = 7 3 8 ∴ 1 2 3 a = 7 3 8 a = 1 2 3 7 3 8 = 6
Finally: 6 a = 9 b a = 6 9 b 6 = 9 / 6 b b = 9 6 × 6 = 4
It can be seen that 738 = a+11a+111a = 123a. So a= 1 2 3 7 3 8 = 6. Now we have 9b = 6(6) = 36 so b= 9 3 6 = 4 yay.
Obviously a < 7 otherwise the concatenation of aaa would be 777>738.
Plus we know that a+a+a = 8 (the last number of 738). Adding this info to the precedent gives us one solution: a = 6. Then b = 4.
Trivial to see that: 0 <= aa + a < 109 < 138
Therefore, 738 >= aaa > 600, hence a = 6 and b = 4.
No need for any equations :)
You really don't need to do the sum to get the answer. which number multiplied by 3 ends with 8 , its 6 you can check. 6+66+666=738. Now 6 6=9 b, so b= 4. Now you may call me crooked but well you have the answer.
Problem Loading...
Note Loading...
Set Loading...
7 3 8 = a + ( 1 0 a + a ) + ( 1 0 0 a + 1 0 a + a ) = 1 2 3 a = 1 2 3 6 9 b ⇒ 7 3 8 = 2 3 6 9 b ⇒ b = 4