Aishwarya Rai walks into a bank to cash out her cheque.
By mistake the bank teller gives her dollar amount in change, and her cent amount in dollars.
On the way home she spends 5 cent, and then suddenly she notices that she has twice the amount of her cheque.
How much was her cheque amount ?
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 the amount which should've been given by the bank be $ x . y . Instead, she is given $ y . x . Expressing the money in cents and setting up an equation using the given data, we have,
1 0 0 y + x − 5 = 2 ( 1 0 0 x + y ) ⟹ 1 9 9 x = 9 8 y − 5 ⟹ y = 9 8 5 + 1 9 9 x
Since the amount of cent must be a non-negative integer, we must have,
9 8 ∣ ( 5 + 1 9 9 x ) ⟹ 5 + 1 9 9 x ≡ 0 ( m o d 9 8 ) ⟹ 5 + 3 x ≡ 0 ( m o d 9 8 ) ⟹ 3 x ≡ ( − 5 ) ≡ 9 3 ( m o d 9 8 ) ⟹ x ≡ 3 1 ( m o d 9 8 )
So, the solution for x is given by x = 3 1 + 9 8 w , w ∈ W . We can note that x is the dollar amount. We must take x such that 0 ≤ y ≤ 9 9 , y ∈ W .
From observation, we can conclude that w ≥ 1 ⟹ y > 9 9 . So, we must have w = 0 and this gives us x = 3 1 and y = 6 3 .
∴ Her cheque amount = $ x . y = $ 3 1 . 6 3