>It looked like a "diaphantine" equation. I tried to derive such myself, but quickly discovered that creating/solving a diaphantine was more difficult than just programming a little bit (s). BTW, I used 6 FOR loops to solve it...
Yesss Bruce, why don't you rub it in ... :) OK. I made of fool of myself.
Kind regards,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.