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
Considerations which might reduce programming by brianjn)
In my prior comment I mentioned a website:
www.DelphiForFun.org.
Use "pandigital" in the Search facility on the site.
There are 3 links, below each other, which mention a program.
I got my information from there and have, at this stage, drawn necessary data into my spreadsheet.
|
Posted by brianjn
on 2009-07-23 12:24:39 |