From: Helder Oliveira Date: 2008-12-09T23:44:23+09:00 Subject: Help on algorythm Guys i have been trying to make this algorythm but with no sucess, can you help me out ? The problem is the follow for the following numberset like 1,2,3,4,5,6,7,8,9,10,11,12 i need to take all the five number combinations, six number combinations and the seven number combinations, this cant be "hardcoded", this need to be flexible because at any time i may need all the 3 number combinations and later i may need numbersets of 15 or even more. Need a little help with this guys :) Note: this is not for a school work or project :) -- Posted via http://www.ruby-forum.com/.