- 25 Sep '07 15:27Our lucky man Herman just inherited 90 million dollars and his rich uncle said to take some out and invest the rest for income. His uncle said to take out some percentage number, a natural number from 1 to 50 percent. But only choose the ones that a bank can pay you exactly without leftovers, such as 0,1456 cents.

So Herman does some quick calcs and sees that if he takes off 10 percent of the 90 mil, he gets 9 mil and that is 81 mil V 9 mil, a 9 to 1 ratio. Is there a formula that can show which cases from 1 to 50 percent removed from the 90 mil will lead to exact solutions? For instance, if you want to have a ten to one ratio, that requires you to remove 8,181,181,81 but that leads to a bit of excess the bank would require you to pay. So how do you calculate these ratios? That is to say, the ratio between what you have left to invest V what you have taken out. It is interesting that if you take out ten percent and have an exact amount, $9,000,000.00 that the ratio is not 10:1 but 9:1, comparing the two numbers after the withdrawal. - 25 Sep '07 16:25

The rich uncle has math quirk where he wants Herman to select only ratios that give exact money back from the bank. Like I said, the second scenerio doesn't work, a ratio of 10:1, because it would require the bank giving Herman $1,818,181,81.1818 dollars, which the bank cannot do exactly. The first scenerio where he takes out 9 mil exactly, of course the bank can pay exactly, which is a 9:1 ratio. So how many out of the ratio set from 1 to 1 through 50:1 will have exact payouts and is there a formula that can predict that?*Originally posted by preachingforjesus***I don't understand what relavence the final ratio has to do with the question** - 25 Sep '07 20:02Presumably this boils down to what fractions of 9,000,000,000 give an integer answer?

In which case we need to find all the factors of 9,000,000,000.

Then when we have found each factor F we have all the fractions 1/F, 2/F, 3/F etc to consider up to 1/2.

Then finally eliminate the fractions we have counted more than once (eg we cannot count 5/50 and 1/20)

Seems like number-crunching ... is there an elegant way to do this? - 25 Sep '07 20:30 / 1 edit

It's easy to find those factors.*Originally posted by wolfgang59***Presumably this boils down to what fractions of 9,000,000,000 give an integer answer?**

In which case we need to find all the factors of 9,000,000,000.

Then when we have found each factor F we have all the fractions 1/F, 2/F, 3/F etc to consider up to 1/2.

Then finally eliminate the fractions we have counted more than once (eg we cannot count 5/50 and 1/20)

Seems like number-crunching ... is there an elegant way to do this?

3x3x(2x5)^9

That gives 1/3, 1/2 and 1/5 - 25 Sep '07 20:3890 million is 9E7 not 9. But how do you go from a given ratio of numbers and work back to the 90 mil figure and find out what the withdrawal would have to have been? Like 13:1, since you don't know what the numbers should be, how would you work it out and is there a formula that would let you calculate it directly given the 90E6 number as the starting point?
- 25 Sep '07 20:46

getting from the fraction to the ratio is trivial so lets keep to fractions!!*Originally posted by sonhouse***90 million is 9E7 not 9. But how do you go from a given ratio of numbers and work back to the 90 mil figure and find out what the withdrawal would have to have been? Like 13:1, since you don't know what the numbers should be, how would you work it out and is there a formula that would let you calculate it directly given the 90E6 number as the starting point?**

and the number we are looking at is 9,000 million (cents)

Apart from number crunching can any Number Theorist give an answer? - 25 Sep '07 20:50

It's more restrictive than a factor problem, the 10:1 ratio for instance, I already figured out is $81,818,818,81.8181818181...etc., V $8,181,181.8181818181... See the problem? it is not an exact solution, given dollars to pennies, the bank cannot give out an exact amount to cover the withdrawal. The problem is finding out which of the set of ratios can give exact money. For instance, 3:1 is $67,500,000.00000000 with $22,500,000.00000 withdrawn. The bank can pay that without any leftover or rounding needed.*Originally posted by wolfgang59***All factors?**

2

3

5

6

9

10

12

15

......

which gives 1/6, 1/9, 1/10, 1/12 ........ et cetera - 25 Sep '07 20:57

Same problem.*Originally posted by sonhouse***It's more restrictive than a factor problem, the 10:1 ratio for instance, I already figured out is $81,818,818,81.8181818181...etc., V $8,181,181.8181818181... See the problem? it is not an exact solution, given dollars to pennies, the bank cannot give out an exact amount to cover the withdrawal. The problem is finding out which of the set of ratios can giv ...[text shortened]... ith $22,500,000.00000 withdrawn. The bank can pay that without any leftover or rounding needed.**

"For instance, 3:1 is $67,500,000.00000000 with $22,500,000.00000 withdrawn"

is the same as 1/4

we need to find fractions of 9,000,000,000 cents that give an integer number of cents - 25 Sep '07 21:00

To be more general*Originally posted by sonhouse***It's more restrictive than a factor problem, the 10:1 ratio for instance, I already figured out is $81,818,818,81.8181818181...etc., V $8,181,181.8181818181... See the problem? it is not an exact solution, given dollars to pennies, the bank cannot give out an exact amount to cover the withdrawal. The problem is finding out which of the set of ratios can giv ...[text shortened]... ith $22,500,000.00000 withdrawn. The bank can pay that without any leftover or rounding needed.**

any ratio a:b is the same as the fraction a/(a+b)

any fraction x/y is the same as ratio xy-x)

much easier to consider the fractions which leads us to look for factors as in my initial reply - 25 Sep '07 21:00 / 1 edit

I think they are saying that with a factor of 10, for example, you get a 9:1 ratio. The ratios and factors match up one-to-one.*Originally posted by sonhouse***It's more restrictive than a factor problem, the 10:1 ratio for instance, I already figured out is $81,818,818,81.8181818181...etc., V $8,181,181.8181818181... See the problem? it is not an exact solution, given dollars to pennies, the bank cannot give out an exact amount to cover the withdrawal. The problem is finding out which of the set of ratios can giv ...[text shortened]... ith $22,500,000.00000 withdrawn. The bank can pay that without any leftover or rounding needed.**

EDIT: Ahh, beaten to the punch.