Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
CombinatoricsPaclet
Guides
Combinatorial Functions
Tuples, Permutations, and Subsets
Symbols
DiscreteInverseEqual
DiscreteInverseLessThan
LehmerCodeFromPermutation
NDigitNumbers
OrderedTupleFromIndex
OrderedTupleIndex
PermutationFromIndex
PermutationIndex
PermutationToTableaux
RepetendCycleLength
SubsetFromIndex
SubsetIndex
TableauxToPermutation
TupleFromIndex
TupleIndex
Tuples, Permutations, and Subsets
These functions are useful for converting to and from indexes to permutations, tuples, ordered tuples, and subsets.
P
e
r
m
u
t
a
t
i
o
n
F
r
o
m
I
n
d
e
x
— Give the permutation corresponding to a given length and lexicographic index
P
e
r
m
u
t
a
t
i
o
n
I
n
d
e
x
— Give the lexicographic index of a permutation
O
r
d
e
r
e
d
T
u
p
l
e
F
r
o
m
I
n
d
e
x
— Get the ordered tuple with the given index and length
O
r
d
e
r
e
d
T
u
p
l
e
I
n
d
e
x
— Give the index of an ordered tuple
S
u
b
s
e
t
F
r
o
m
I
n
d
e
x
— Get the subset with the given index and length
S
u
b
s
e
t
I
n
d
e
x
— Give the index of a subset
T
u
p
l
e
F
r
o
m
I
n
d
e
x
— Return the tuple corresponding to a given index
T
u
p
l
e
I
n
d
e
x
— Compute the index of a given tuple of non-negative integers
"
"