Catalan Unrank
Initializing live version

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
A binary sequence is called totally balanced if the number of zeros is at least as large as the number of ones as you traverse
, and the total counts are equal. If
has length
, this implies
and
.
Contributed by: Ed Pegg Jr (August 2022)
Open content licensed under CC BY-NC-SA
Snapshots
Details
Permanent Citation