Agnishom and Satvik have some whole number of rupees. I asked Agnishom and Satvik how much money they have... of course they can't ever give a straight answer...
How many rupees does Agnishom have?
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.
Let S and A be the amounts of money and x the hypothetical amount of money involved in the transactions. Then A + x = S − x ∴ S − A = 2 x 2 ( A − x ) = S + x ∴ 2 A − S = 3 x , and addition of these equations tells me that A = 5 x , from which it follows that S = 7 x .
Let 1 ≤ b ≤ 9 be the last digit of A , and n the number of digits of A , then we have 1 0 A − b + 1 0 n − 1 b = S A + ( 1 0 n − 1 ) b = 1 0 S 5 x + ( 1 0 n − 1 ) b = 7 0 x 6 5 x = ( 1 0 n − 1 ) b . Since 1 0 n − 1 cannot be a multiple of 5, we must have b = 5 . Thus 1 3 x = 1 0 n − 1 . This, combined with n ≤ 6 , is only possible if n = 6 . (I happen to know that 1 3 ∣ 1 0 0 1 so that 1 3 ∣ 9 9 9 9 9 9 is clearly a solution.) Finally, then, x = 1 3 9 9 9 9 9 9 = 7 6 9 2 3 ; A = 5 x = 3 8 4 6 1 5 ; S = 7 x = 5 3 8 4 6 1 .
Here's a method using only the very basics of standard VIII.
Let Agnishom have 'x' & satvik have 'y' rupees & they exchange with each other rupees 'p' according to given statements respectively.
Two set of equations are as follows :
x + p = y − p .......................... (1) 2 ( x − p ) = y + p ........................... (2)
Eliminating x we get 7 x = 5 y ............. (3) .
Since x , y < 1 0 6 so they are atmost 6 digit numbers.
5 ∣ x so last digit of x is 5 & thus first digit of y.
Let y = 1 0 5 . 5 + 1 0 4 . a + 1 0 3 . b + 1 0 2 . c + 1 0 d + e
x = 1 0 5 . a + 1 0 4 . b + 1 0 3 . c + 1 0 2 . d + 1 0 e + 5
putting values of x & y successively in (3) and shifting terms and rearranging we get,
a . 1 0 4 . 6 5 + b . 1 0 3 . 6 5 + c . 1 0 2 . 6 5 + d . 1 0 . 6 5 = 2 5 . 1 0 5 − 3 5
6 5 . y = 1 0 5 ( 2 5 + 6 5 . 5 ) − 3 5
y = 5 3 8 4 6 1 & thus x = 3 8 4 6 1 5
You made the assumption that x , y are 5-digit numbers in order to claim that
Let y = 1 0 5 . 5 + 1 0 4 . a + 1 0 3 . b + 1 0 2 . c + 1 0 d + e
That is why the other solutions needed to first figure out that we needed 1 3 ∣ 1 0 n − 1 .
Problem Loading...
Note Loading...
Set Loading...
Good reference to the song ! :D
Let s be Satvik's money and a be Agnishom's money, where a , s ∈ N . From the things that Agnishom says we can set up these two equations:
s − x = a + x 2 ( a − x ) = s + x
Deleting x we have 7 a = 5 s .
Clearly a is a multiple of 5. Now, from the things that Satvik says we can set up these two equations:
s = p ⋅ 1 0 d + q a = 1 0 q + p
Where p is a digit from 1 to 9 and q > 0 . Since a is multiple of 5, it can only end with 0 or 5, and since its last digit is p , then we must have p = 5 . Then:
s = 5 ⋅ 1 0 d + q a = 1 0 q + 5
Substituting on the previous relation we have:
7 ( 1 0 q + 5 ) = 5 ( 5 ⋅ 1 0 d + q )
Simplify:
1 3 q = 5 ⋅ 1 0 d − 7
Testing with small values of d we find that d = 5 and q = 3 8 4 6 1 is the first and only integer solution with a , b < 1 0 6 .
Finally s = 5 3 8 4 6 1 and a = 3 8 4 6 1 5 .