Each of P, Q, R, S and (P+S), with P < Q < R < S, is a non leading zero 10-digit base ten positive integer containing each of the digits from 0 to 9 exactly once. It is known that R is the arithmetic mean of P and S, and Q is the geometric mean of P and S.
Determine the minimum value of P and the maximum value of S.
(In reply to
Solution (I think) by Harry)
You have looked at this from the view of finding a minimum P and then finding a maximum S.
I read the problem as both being criteria for the same scenario.
Who interpreted correctly? Irregardless, you probably have the greatest margin between P and S in your second offering, which I would have been intending to find.
BTW, what was your approx. runtime?
Edited on July 24, 2009, 11:58 pm
|
Posted by brianjn
on 2009-07-24 23:12:50 |