Subj : Re: efficient way of processing m combinations of n numbers in p sets To : comp.programming From : Mike Date : Wed Aug 17 2005 04:01 pm haha :-) Ok problem solved. Using Mike's mathematics the proportions for each horse do work perfectly. All I need to do is keep adjusting the total funds used until the lowest stake becomes >= 2 Apologies for not seeing this earlier and thanks a million everyone who has posted. Kind regards, Mike .