Posted by Denis Borris on September 21, 2002 at 16:36:55:
In Reply to: consecutive numbers posted by oldguy on September 21, 2002 at 15:25:26:
: I meant any consecutive order i.e. 1 5 21 23 25. 6 11 13 24 25. ect.
25-5+1 = 21 ; 21 * 22 / 2 = 231
formula: (n-p+1)(n-p+2)/2 where n=total numbers and p=set numbers (25 and 5 in your case).