From: Glen Holcomb Date: 2008-12-09T23:56:37+09:00 Subject: Re: Help on algorythm ------=_Part_60251_9926778.1228834991377 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Dec 9, 2008 at 7:44 AM, Helder Oliveira wrote: > 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/. > > http://www.google.com/search?hl=en&q=Ruby+permutations&btnG=Google+Search&aq=f&oq= -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_60251_9926778.1228834991377--