Aishwarya Rai walks into a bank to cash out her check.
By mistake, the bank teller gives her dollar amount in cents and her cent amount in dollars.
On the way home she spends 5 cents, and then notices that she has twice the amount of her check.
How much was her check amount (in dollars)?
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.
The check was for dollars 31.63.
The bank teller gave her dollars 63.31 She spent .05, and then she had dollars 63.26, which is twice the check.
Let x be the dollars of the check, and y be the cent.
The check was for 100x + y cent He was given 100y + x cent
Also 100y + x - 5 = 2(100x + y) Expanding this out and rearranging, we find: 98y = 199x + 5
or 199x ≡ -5 (mod 98) or 98 2 x + 3x ≡ -5 (mod 98) 3x ≡ -5 ≡ 93 (mod 98) this quickly leads to x = 31