SimpleSolver

Permutations - Numbers or Names

Permutation Generator

The free Permutation software calculates permutation quantities for a Base Number from 1 to 999 and a Number of Digits from 1 to 99.

If enabled, permutation number/name groups are also be generated and displayed.  Up to 250 MB of data can be stored.

User Guide

See Permutation Help for detailed documentation.

Base Number

This text box is used to specify the number base such as 2 (Binary), 8 (Octal) or 10 (Decimal).

Number of Digits

This text box is used to specify the number of digits in each permutation

Groups

This text box is used to specify the number of groups within each permutation number.

Sum

This text box is used to specify the required arithmetic Sum of the digits in each permutation

Calculate Only - If this option is checked, permutation quantities are calculated but permutations are not generated

Map Names - Replaces numbers (1 2 3) with letters/names/symbols (a b c   Dog Cat Bird   @ # $) listed in a standard ASCII text file.

NUMBERS

0 to Base#-1 - The number set ranges from 0 to the Base Number - 1

1 to Base# - The number set ranges from 1 to the Base Number

Number File - The number set is a list of Integers in a standard ASCII text file

CONSTRAINTS

Sort - Digits must be in ascending sort order

Sort Groups - Digits within groups must be in ascending sort order

Reverse Sort - Digits must be in descending sort order

RevSort Groups - Digits within groups must be in descending sort order

Unique - All digits must be different

Sum - Digits must add up to the Sum number

FORMAT

Space - Adds a space before each item in each row

Align - Right-justifies Numbers in each column

STORAGE LIMIT

10 MB - Data is saved in RAM and then displayed in the Output Data window

50 MB - Data is saved to hard disk and then displayed in the Output Data window

250 MB - Data is saved to hard disk

CAUTION

Although the Permutation tool supports Base-Numbers up to 999 and Number-of-Digits up to 99, the number of permutations generated is limited to 10/50/250 MB of data.

This is for practical limitations of size and time:

»  Permutation data can quickly grow to a size too large for most text editors

»  The data may also grow too large for any hard drive

»  The time to generate a large permutation set may take hours or days
    or weeks or years or eons...

Example:  5^20 (Base=5, Digits=20) has 95,367,431,640,625 permutations

»  10 MB of data is generated in about 1/2 second
    This generates only 454,569 permutations

»  If all permutations are generated,  95,367,431,640,625/454,569 =
    209,797,482 half-second periods are required
    This is 209,797,482/2 seconds = 104,898,741 seconds = 1,214 days

»  The amount of storage required is 10 MB * 209,797,482 = 210 TB (terabytes)