You're just working through the combinations of number of claims and amount of claims that make each total. eg You want to make a total of 2 then you could have 1 claim of 2 or 2 claims of 1 each.