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
PeterBurbery`CombinatoricsPaclet`
T
u
p
l
e
I
n
d
e
x
T
u
p
l
e
I
n
d
e
x
[
t
u
p
l
e
]
r
e
t
u
r
n
s
t
h
e
i
n
d
e
x
o
f
t
u
p
l
e
a
s
i
t
w
o
u
l
d
a
p
p
e
a
r
i
n
a
l
i
s
t
o
f
a
l
l
i
n
t
e
g
e
r
t
u
p
l
e
s
o
f
t
h
e
s
a
m
e
l
e
n
g
t
h
,
s
o
r
t
e
d
b
y
t
h
e
m
a
x
i
m
a
l
e
l
e
m
e
n
t
.
Examples
(
1
)
I
n
[
1
]
:
=
N
e
e
d
s
[
"
P
e
t
e
r
B
u
r
b
e
r
y
`
C
o
m
b
i
n
a
t
o
r
i
c
s
P
a
c
l
e
t
`
"
]
B
a
s
i
c
E
x
a
m
p
l
e
s
(
1
)
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
C
o
m
b
i
n
a
t
o
r
i
a
l
F
u
n
c
t
i
o
n
s
▪
T
u
p
l
e
s
,
P
e
r
m
u
t
a
t
i
o
n
s
,
a
n
d
S
u
b
s
e
t
s
"
"