A Program for Generating All Permutations of {1, 2, ..., n}
Article Sidebar
Published
Nov 1, 2002
Main Article Content
Robert DiSario
Bryant College
Abstract
A Visual Basic program that generates all permutations of {1, 2, ..., n} is presented. The procedure for running the program as an Excel macro is described. An application is presented which involves selecting permutations which meet a specific constraint.
Article Details
Issue
Section
Articles