x is a positive integer such that the sum of its digits times 5 equals itself.
What is x ?
For example, 32 does not qualify because ( 3 + 2 ) × 5 = 2 5 = 3 2 .
Bonus: Prove that there is only one possible value for x .
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.
Brute force approach:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|
You just look at all numbers divisible by 5.
Good work Arjen!
2.Checking for a 2 digit number a b , we get ( a + b ) × 5 = 1 0 a + b = 5 a + 5 b ⟹ b a = 5 4 . Clearly, it is only possible if number is 4 5 .
3.Checking for a 3 digit number a b c , we get ( a + b + c ) × 5 = 1 0 0 a + 1 0 b + c ⟹ 4 c = 9 5 a + 5 b . Now, for a = 1 and b = 0 (the minimum case) c is not an integer and even if a = b = 1 , c has to be equal to 2 5 , but its not possible since c is a single digit. Therefore, a 3 digit number also doesn't holds this property.
And now for subsequent values of a , b , c ,we will not get any single digit number because they will become larger and larger. Therefore, no positive number other than 4 5 exhibits this property.
You're smart.... I just guessed....
Log in to reply
There are many of these types of problems, but once you realize how to convert 'digits' to algebra, they become much simpler. The key is representing a number like ABC as 100A + 10B + C. Then the next time you come across something like this, you will be able to annihilate it.
Why is it 10a+ b
Log in to reply
Any 2 digit number a b is of the form 1 0 a + b .
(4+5)(5) = 45
(3+2)(5) does not equal 30.
Don't you mean (3+2)(5) desn't equal 32?
If I take your example of 3+2 5=25 not equal to 32. Then Ur answer of 45 is not correct because 4+5 9=81 not equal to 45.
(2+3)x5=25 ?
is it possible to downvote?
Let x = a b
Then we can write, x = a b = 1 0 a + b
From the question we can write, 5 × ( a + b ) = x = 1 0 a + b 5 a + 5 b = 1 0 a + b 5 a = 4 b a = 5 4 b
Here a would be a integer if 5 4 b is a intiger and then we can say for a being integer b must be divisible by 5
Hence b can be = 0 , 5 , 1 0 , 1 5 , . . .
If b = 0 then a comes 0 . It’s not possible.
Again b = 5 then a comes 4 It’s possible.
Again b = 1 0 , 1 5 . . . . because b is a single digit.
So, we can get only one answer, which is x = 4 5
Why x=10a+b ?
Log in to reply
I want to give you a example to clear it.
Let a number is 5 8 , if it is a b then a = 5 , b = 8
then 5 8 = 5 0 + 8 = 5 × 1 0 + 8 = 1 0 a + b
Can you understand? If not, you can tell me.
(X+Y)5=10X+Y
5X+5Y=10X+Y
5Y-Y=10X-5X
4Y=5X
4Y/5=X
The only single digit positive whole number Y that fits this equation with a result that is also a single digit positive number is Y=5 making X=4.
Oh it is simple we can represent 2 numbers of x as a_b. a+b*5 = x a+b = x/5 thus meaning x is dividable by 5 and has 2 numbers in it so x can be {10, 15, 20, 25, 30, 35, 40, 45...} I mean i just solved it like 1+0 = 10/5 => 1=2 only answer I got to was 45 :D and that was only one working... I mean I am not genius so...
How is zero not a solution?
Zero is not a positive integer
wouldn't 1 work as well?
1 2 3 4 5 6 7 8 9 10 11 |
|
45
1 2 3 4 5 6 7 |
|
I can prove this by elimination.
Step 1: All digits of a number are positive integers and therefore must add up to a positive integer. Any number that is not a multiple of five, if divided by five, will not return a positive integer; therefore, the number must be divisible by five.
Step 2: Three-digit numbers are out. The highest sum of digits any three-digit number divisible by five can have is 23; 23 * 5 is 115. Any number between 100 and 195 is also out because 1 + 9 + 5, the maximum, = 15 * 5 = 75 which is less than 100.
Step 3: By this same logic, each further order of magnitude is out, because the maximum sum of digits * 5 increases by 45 each order of magnitude, while the actual number you need increases by, well, orders of magnitude.
Step 4: Odd multiples of five whose digits add to an even number are out because even numbers * 5 end in 0. Even multiples of five whose digits add to an odd number are out because odd numbers * 5 end in 5. (Proof: an odd * an odd is an odd; an even times an odd is an even; multiples of five can only end in one odd number or one even number; therefore, an even multiple of five always ends in 0 and an odd multiple of five always ends in five.)
Step 5: Test the remaining cases. The digits of 20, 40, 60, and 80 all multiply to half of their source. 5, 25, 45, 65, and 85 remain; 5, 25, 65, and 85 do not resolve properly; 45 is the only answer.
Hello, I am new to this. What I did was I used a formula I made up, d i g i t ( n , i , b a s e ) = ⌊ n ÷ b a s e i ⌋ m o d b a s e where n is the number, i is the index, and base is the base. I summed up the digits then all the digits from index 0 to index 20 (because I figured beyond that was unnecessary and I was too lazy to type ⌊ lo g b a s e x ⌋ + 1 the formula to sum up the digits of x was i = 0 ∑ 2 0 d i g i t ( x , i , b a s e )
I checked it on a graphing calculator. 45 looked right. I did the math. It was right. I am not sure I could prove this is the only solution with my method, though.
Btw assume we all have 10 fingers and count in base-10.
That is my first time using L A T E X
Another way is y = ( f l o o r ( 1 0 x ) + x m o d 1 0 ) ⋅ 5 compare it to a graph of y = x where they intersect and it's a positive integer there's your solution
The multiples of 9 satiefies the property that adding all the digits then multiplied by a constant equals itself. This is always true because the rule of divisibility of 9 tells us that any multiple of 9, when added all of its digits, and if you have two or more digits, repeat, you always get 9. In this question, the constant is 5. Therefore, 9*5=45, which is the only answer.
I solved it like this:
1 0 ⋅ a + 1 ⋅ b = 5 ( a + b )
1 0 a + b = 5 a + 5 b
Subtract -5a and -b both sides
5 a = 4 b
We see that b > a and we need to find a and b such that there is an equality
We need to try for different numbers, lets try with b.
if b = 1 then a is a fraction -> not valid because we need an integer
b=2 then a is a fraction -> not valid because we need an integer
b=3 then a is a fraction -> not valid because we need an integer
b=4 then a is a fraction -> not valid because we need an integer
b=5 then a is 5a=20, --> a=4 NOW WE HAVE AN INTEGER
Test: a = 4 , b = 5
1 0 ⋅ 4 + 5 = 5 ( 4 + 5 )
4 5 = 5 ⋅ 9
4 5 = 4 5
Success
Let unit digit is p, Tens digit is q,
Then No. is (10q+p), Acc. to Question. (q+p)5= 10q+p, 4p = 5q, q = 4p/5,
Since p & q both are positive integer so when q =4, then p=5, So, number is 40+5=45
(x+y) * 5 = 10x + y will eventually give 4/5y = x from there I guessed
There are actually two solutions. The second one is zero. Sum of digits of 0: 0. 0x5=0.
Shame! The name of the problem gives the solution away!
The expansion of our number N in base 1 0 is a sum of the form a 0 + a 1 ∗ 1 0 + a 2 ∗ 1 0 2 + . . . + a n − 1 ∗ 1 0 n − 1 ; this is a number that has n digits.
Since all digits of the form a i can be at most equal to 9 , the sum of all digits ∑ i = 0 n − 1 a i must be less than or equal to 9 n .Thus, ∑ i = 0 n − 1 a i ≤ 9 n , and therefore 5 ∑ i = 0 n − 1 a i ≤ 5 ∗ 9 n = 4 5 n , from which we can conclude that N ≤ 4 5 n .
If we take the logarithm base 10 on both sides, we get l o g ( N ) ≤ l o g ( 4 5 n ) = l o g ( 4 5 ) + l o g ( n ) . Since N has n digits, n − 1 ≤ l o g ( N ) ≤ n , and thus ⌊ l o g ( N ) ⌋ = n − 1 ; what this means is that given ⌊ l o g ( N ) ⌋ ≤ ⌊ l o g ( 4 5 ) + l o g ( n ) ⌋ , we have that n − 1 ≤ ⌊ l o g ( 4 5 ) + l o g ( n ) ⌋
If we plug in values for n , we see that for any value n ≥ 3 , the quantity n − 1 surpasses ⌊ l o g ( 4 5 ) + l o g ( n ) ⌋ , and thus our number N can have at most 2 digits.
If n is a single digit number, n is equal to a 0 , and we'd have a 0 = 5 ∗ a 0 and in turn a 0 = 0 , which would make N = 0 and this is not a valid solution.
If n has two digits, n = a 0 + a 1 ∗ 1 0 , and then a 0 + 1 0 ∗ a 1 = 5 ( a 0 + a 1 ) ; this gives us 4 a 0 = 5 a 1 , and since both are numbers between 0 and 9 (inclusive, except a 0 cannot be 0 if a 1 is also 0 ), the only numbers that satisfy all conditions are a 0 = 5 and a_[1} = 4 , which in turn means that N = 4 5 , which is the solution sought.
There is only one because we can see how if the number increase the value of the answer with the number x is at a greater difference and the same for a lo were number... That can be explained with a graph and a parabòlic line
sum of digital is multimplied by 5.surely last digit of required no =0/5 so (a+b)×5=10a+b $a÷b=4÷5 $(ab)=(45)
The answer must satisfy these:
The number must be 2-digits so it can have a sum of its digits.
The number must have a factor of five. (Because we have to times five later on, to have a chance of being the same, the number has to have a factor of five.)
Then we can start calculating: 10, 15, 20, 25, 30, 35, 40, 45....
The answer is 45 because (4+5)x5=9x5=45
a = tenth digit
b = oneth digit
(a + b) x 5 = 10a + b
5a + 5b = 10a + b
4b = 5a
if a = 4 and b = 5
substitute in 20 = 20 is correct
anwser is 45
One solution would be writing multiples of 5, adding their digits an then multiplying them by 5. Something like this:
0 5 = ( 0 + 5 ) = 5 ∗ 5 = 2 5
1 0 = ( 1 + 0 ) = 1 ∗ 5 = 5
1 5 = ( 1 + 5 ) = 6 ∗ 5 = 3 0
2 0 = ( 2 + 0 ) = 2 ∗ 5 = 1 0
2 5 = ( 2 + 5 ) = 7 ∗ 5 = 3 5
3 0 = ( 3 + 0 ) = 3 ∗ 5 = 1 5
3 5 = ( 3 + 5 ) = 8 ∗ 5 = 4 0
4 0 = ( 4 + 0 ) = 4 ∗ 5 = 2 0
4 5 = ( 4 + 5 ) = 9 ∗ 5 = 4 5
5 0 = ( 5 + 0 ) = 5 ∗ 5 = 2 5
.
.
.
X=xy (x+y)×5=x X+y=x/5 Y=x/5-x Y=-4x/5 5y=4x use only absolute values since the number is xy then the number is 45. (4+5)×5=9×5=45
Let's begin assuming that x is an n -digit positive integer.
Then, x = 1 0 n − 1 a n − 1 + 1 0 n − 2 a n − 2 + … … … + 1 0 3 a 3 + 1 0 2 a 2 + 1 0 a 1 + a 0 .
And sum of digits of x = a 0 + a 1 + a 2 + a 3 + … … … + a n − 1 .
The problem statement demands x must satisfy the following equality.
1 0 n − 1 a n − 1 + 1 0 n − 2 a n − 2 + … … … + 1 0 3 a 3 + 1 0 2 a 2 + 1 0 a 1 + a 0 = 5 × ( a 0 + a 1 + a 2 + a 3 + … … … + a n − 1 )
⇔ ( 1 0 n − 1 − 5 ) a n − 1 + ( 1 0 n − 2 − 5 ) a n − 2 + … … … + ( 1 0 3 − 5 ) a 3 + ( 1 0 2 − 5 ) a 2 + ( 1 0 − 5 ) a 1 = 4 a 0 … … … ( 1 )
Now, we notice, under the restriction that n ≥ 3 , the minimum value of the left side expression of ( 1 ) occurs when a n − 1 = a n − 2 = … … … = a 4 = a 3 = 0 , a 2 = 1 and a 1 = 0 , which is 9 5 . On the other hand, under the very same restriction, the maximum value of the right side expression of ( 1 ) occurs when a 0 = 9 , which is 3 6 . As for n ≥ 3 , the minimum value of the left side expression of ( 1 ) exceeds even the maximum value of the right side expression of ( 1 ) , no positive integer x with n ≥ 3 can satisfy ( 1 ) .
So, x is, at most, a 2 -digit positive integer, with x = 1 0 a 1 + a 0 .
We have, from ( 1 ) , 5 a 1 = 4 a 0 … … … ( 2 ) .
Now, we see, x cannot be a single-digit number; because x is a single-digit number ⟹ a 1 = 0 ⟹ a 0 = 0 ⟹ x = 0 , which contradicts the fact that x is a positive integer.
So, x is a 2 -digit positive integer; and none of a 1 and a 0 equals 0 .
In accordance with ( 2 ) , 4 ∣ a 1 and 5 ∣ a 0 . So, the set of candidates for a 1 is { 4 , 8 } and for a 0 is { 5 } . We are left with two candidates for x , namely 4 5 and 8 5 .
It's easy to see 8 5 doesn't qualify, but 4 5 does. And uniqueness of 4 5 is proved too.
10x+y=5(x+y) ---- equation 1 5x=4y 5x/4=y Since we need y to be integer, x must be a multiple of 4. But, 4 itself is a multiple of 4. Therefore,for x=4, y=5*4/4=5. By substituting in equation 1, that x=4 and y=5, The number is 45. It is the only such number because on plugging x=8,12,16,...(the next multiples of 4), y becomes 10 which is not allowed because only the numbers 0 to 9 are allowed to take place of y as according to the base 10 number system.
Problem Loading...
Note Loading...
Set Loading...
Call the digits from right to left a , b , c , ⋯ ∈ { 0 , 1 , … , 9 } . We have 5 ( a + b + c + d + ⋯ ) = a + 1 0 b + 1 0 0 c + 1 0 0 0 d + ⋯ . 4 a = 5 b + 9 5 c + 9 9 5 d + ⋯ If any of c , d , … were non-zero, 4 a should be at least 95, which is impossible. Therefore the solution must have two digits at most. 4 a = 5 b The only non-zero solution satisfying the constraints on a and b is a = 5 , b = 4 : 5 ( 5 + 4 ) = 5 + 4 0 = 4 5 .