All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Dollars and Cents (Posted on 2012-08-13)
This is a generalization of Rupees and Paise.

Stan entered a departmental store with A dollars and B cents. When he exited the store, he had B/p dollars and A cents, where B/p is an integer. It was observed that when Stan came out, he had precisely 1/p times the money he had when he came in.

Given that each of A, B and p is a positive integer, with 2 ≤ p ≤ 99, determine the values of p for which this is possible. What values of p generate more than one solution?

 Submitted by K Sengupta No Rating Solution: (Hide) The required values of p are: 2, 4, 5, 10, 12, 20, 25, 28, 34, 40, 45 or 50, among which: p = 4, 10, 12 and 25 lead to multiple solutions. For an explanation, refer to the solution posted by Charlie in the comments.

 Subject Author Date PARTIAL answer Ady TZIDON 2012-08-14 07:47:43 re(2): Solution Charlie 2012-08-13 12:52:53 computer solution Charlie 2012-08-13 12:43:47 re: Solution Chris, PhD 2012-08-13 10:48:21 Solution Chris, PhD 2012-08-13 10:20:51

 Search: Search body:
Forums (0)