Money for Nothing

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...

  • Agnishom says, "If Satvik gives me some rupees, then we'll have the same amount of money. But if I give Satvik the same number of rupees, then he'll have twice as much money as I do..."
  • Satvik says, "And if you remove the first digit of my wealth, and put it at the end, you will get Agnishom's wealth! And one more thing... neither of us has more than a million (10 lakh) rupees..."

How many rupees does Agnishom have?


The answer is 384615.

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.

3 solutions

Good reference to the song ! :D

Let s s be Satvik's money and a a be Agnishom's money, where a , s N a,s\in \mathbb{N} . From the things that Agnishom says we can set up these two equations:

s x = a + x 2 ( a x ) = s + x s-x=a+x\\ 2(a-x)=s+x

Deleting x x we have 7 a = 5 s 7a=5s .

Clearly a 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 = 10 q + p s=p\cdot 10^d+q\\ a=10q+p

Where p p is a digit from 1 to 9 and q > 0 q>0 . Since a a is multiple of 5, it can only end with 0 or 5, and since its last digit is p p , then we must have p = 5 p=5 . Then:

s = 5 1 0 d + q a = 10 q + 5 s=5\cdot 10^d+q\\ a=10q+5

Substituting on the previous relation we have:

7 ( 10 q + 5 ) = 5 ( 5 1 0 d + q ) 7(10q+5)=5(5\cdot 10^d+q)

Simplify:

13 q = 5 1 0 d 7 13q=5\cdot 10^d-7

Testing with small values of d d we find that d = 5 d=5 and q = 38461 q=38461 is the first and only integer solution with a , b < 1 0 6 a,b<10^6 .

Finally s = 538461 s=538461 and a = 384615 \boxed{a=384615} .

Arjen Vreugdenhil
Jan 30, 2016

Let S S and A A be the amounts of money and x 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 , A + x = S - x\ \ \therefore\ S - A = 2x \\ 2(A-x) = S + x\ \ \therefore\ 2A - S = 3x, and addition of these equations tells me that A = 5 x A = 5x , from which it follows that S = 7 x S = 7x .

Let 1 b 9 1 \leq b \leq 9 be the last digit of A A , and n n the number of digits of A A , then we have A b 10 + 1 0 n 1 b = S A + ( 1 0 n 1 ) b = 10 S 5 x + ( 1 0 n 1 ) b = 70 x 65 x = ( 1 0 n 1 ) b . \frac{A-b}{10} + 10^{n-1}b = S \\ A + (10^n - 1)b = 10 S \\ 5x + (10^n - 1)b = 70 x \\ 65 x = (10^n -1)b. Since 1 0 n 1 10^n-1 cannot be a multiple of 5, we must have b = 5 b = 5 . Thus 13 x = 1 0 n 1. 13x = 10^n -1. This, combined with n 6 n \leq 6 , is only possible if n = 6 n = 6 . (I happen to know that 13 1001 13 | 1001 so that 13 999 999 13 | 999\:999 is clearly a solution.) Finally, then, x = 999 999 13 = 76 923 ; A = 5 x = 384 615 ; S = 7 x = 538 461. x = \frac{999\:999}{13} = 76\:923; \\ A = 5x = \boxed{384\:615}; \\ S = 7x = 538\:461.

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 x+p=y-p .......................... (1) 2 ( x p ) = y + p 2(x-p)=y+p ........................... (2)

Eliminating x we get 7 x = 5 y 7x=5y ............. (3) .

Since x , y < 1 0 6 x,y < 10^6 so they are atmost 6 digit numbers.

5 x 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 + 10 d + e y = 10^5.5 + 10^4.a+10^3.b+10^2.c+10d+e

x = 1 0 5 . a + 1 0 4 . b + 1 0 3 . c + 1 0 2 . d + 10 e + 5 x= 10^5.a + 10^4.b+10^3.c+10^2.d+10e+5

putting values of x & y successively in (3) and shifting terms and rearranging we get,

a . 1 0 4 . 65 + b . 1 0 3 . 65 + c . 1 0 2 . 65 + d . 10.65 = 25.1 0 5 35 a.10^4.65+b.10^3.65+c.10^2.65+d.10.65=25.10^5-35

65. y = 1 0 5 ( 25 + 65.5 ) 35 65.y=10^5(25+65.5)-35

y = 538461 y=538461 & thus x = 384615 \boxed{x=384615}

Moderator note:

You made the assumption that x , y 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 + 10 d + e y = 10^5.5 + 10^4.a+10^3.b+10^2.c+10d+e

That is why the other solutions needed to first figure out that we needed 13 1 0 n 1 13 \mid 10^n - 1 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...