Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • 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
    • 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.
PermutationFromIndex
— Give the permutation corresponding to a given length and lexicographic index
PermutationIndex
— Give the lexicographic index of a permutation
OrderedTupleFromIndex
— Get the ordered tuple with the given index and length
OrderedTupleIndex
— Give the index of an ordered tuple
SubsetFromIndex
— Get the subset with the given index and length
SubsetIndex
— Give the index of a subset
TupleFromIndex
— Return the tuple corresponding to a given index
TupleIndex
— Compute the index of a given tuple of non-negative integers
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com