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

Home > Just Math
Dollars and Cents (Posted on 2012-08-13) Difficulty: 3 of 5
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?

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Answer Comment 6 of 6 |
Suppose A=99, B=100-p, and p|100. Let n=100/p. Then, B/p=(100-p)/p=n-1. Then, (100A+B)/p=(100(99)+100-p)/p=(9900+100-p)/p=(10000-p)/p=100n-1=100n-100+99=100(n-1)+99=100(B/p)+A. Therefore, we have the following solutions.

A=99, B=99, p=1
$99.99/1=$99.99

A=99, B=98, p=2
$99.98/2=$49.99

A=99, B=96, p=4
$99.96/4=$24.99

A=99, B=95, p=5
$99.95/5=$19.99

A=99, B=90, p=10
$99.90/10=$9.99

A=99, B=80, p=20
$99.80/20=$4.99

A=99, B=75, p=25
$99.75/25=$3.99

A=99, B=50, p=50
$99.50/50=$1.99

A=99, B=0, p=100
$99.00/100=$0.99


  Posted by Math Man on 2020-05-16 11:55:29
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information