That requires a pretty intense algorithm, you going to be doing this often? I'd recommend doing this in C or Java... What platform?
If it's the same 15 numbers just do it once ! WG > -----Original Message----- > From: Dobris, Eric [mailto:[EMAIL PROTECTED]] > Sent: 18 December 2002 16:45 > To: CF-Talk > Subject: Random Iterations > > > Hi Everyone, > > I have a problem I can't figure out and I am hoping someone on > the list can > help me figure out how to do it. > > I need to generate iteration tables. > > For Example: > > For a 3 digit iteration: > > All The possible combinations for these 3 digits; 1 2 3 > > I would end up with: > > 1 1,2,3 > 2 1,3,2 > 3 2,1,3 > 4 3,2,1 > 5 2,3,1 > 6 3,1,2 > > > > I need to auto generate tables with up to 15 digits. > > Can anyone figure out the code to do this? > > Any help would be appreciated. > > Thanks, > > Eric Dobris > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com