Identifier
Values
[1,0] => 10 => 01 => 01 => 0
[1,0,1,0] => 1010 => 0011 => 0011 => 0
[1,1,0,0] => 1100 => 0011 => 0011 => 0
[1,0,1,0,1,0] => 101010 => 001011 => 100011 => 1
[1,0,1,1,0,0] => 101100 => 000111 => 000111 => 0
[1,1,0,0,1,0] => 110010 => 000111 => 000111 => 0
[1,1,0,1,0,0] => 110100 => 000111 => 000111 => 0
[1,1,1,0,0,0] => 111000 => 000111 => 000111 => 0
[1,0,1,0,1,0,1,0] => 10101010 => 00101011 => 11000011 => 1
[1,0,1,0,1,1,0,0] => 10101100 => 00010111 => 10000111 => 1
[1,0,1,1,0,0,1,0] => 10110010 => 00010111 => 10000111 => 1
[1,0,1,1,0,1,0,0] => 10110100 => 00010111 => 10000111 => 1
[1,0,1,1,1,0,0,0] => 10111000 => 00001111 => 00001111 => 0
[1,1,0,0,1,0,1,0] => 11001010 => 00010111 => 10000111 => 1
[1,1,0,0,1,1,0,0] => 11001100 => 00001111 => 00001111 => 0
[1,1,0,1,0,0,1,0] => 11010010 => 00010111 => 10000111 => 1
[1,1,0,1,0,1,0,0] => 11010100 => 00010111 => 10000111 => 1
[1,1,0,1,1,0,0,0] => 11011000 => 00001111 => 00001111 => 0
[1,1,1,0,0,0,1,0] => 11100010 => 00001111 => 00001111 => 0
[1,1,1,0,0,1,0,0] => 11100100 => 00001111 => 00001111 => 0
[1,1,1,0,1,0,0,0] => 11101000 => 00001111 => 00001111 => 0
[1,1,1,1,0,0,0,0] => 11110000 => 00001111 => 00001111 => 0
[1,0,1,1,1,1,0,0,0,0] => 1011110000 => 0000011111 => 0000011111 => 0
[1,1,0,0,1,1,0,0,1,0] => 1100110010 => 0001001111 => 0100001111 => 1
[1,1,0,0,1,1,1,0,0,0] => 1100111000 => 0000011111 => 0000011111 => 0
[1,1,0,1,1,1,0,0,0,0] => 1101110000 => 0000011111 => 0000011111 => 0
[1,1,1,0,0,0,1,1,0,0] => 1110001100 => 0000011111 => 0000011111 => 0
[1,1,1,0,0,1,0,0,1,0] => 1110010010 => 0001001111 => 0100001111 => 1
[1,1,1,0,0,1,1,0,0,0] => 1110011000 => 0000011111 => 0000011111 => 0
[1,1,1,0,1,1,0,0,0,0] => 1110110000 => 0000011111 => 0000011111 => 0
[1,1,1,1,0,0,0,0,1,0] => 1111000010 => 0000011111 => 0000011111 => 0
[1,1,1,1,0,0,0,1,0,0] => 1111000100 => 0000011111 => 0000011111 => 0
[1,1,1,1,0,0,1,0,0,0] => 1111001000 => 0000011111 => 0000011111 => 0
[1,1,1,1,0,1,0,0,0,0] => 1111010000 => 0000011111 => 0000011111 => 0
[1,1,1,1,1,0,0,0,0,0] => 1111100000 => 0000011111 => 0000011111 => 0
[1,0,1,1,1,1,1,0,0,0,0,0] => 101111100000 => 000000111111 => 000000111111 => 0
[1,1,0,0,1,1,0,0,1,1,0,0] => 110011001100 => 000011001111 => 010000101111 => 2
[1,1,0,0,1,1,1,0,0,0,1,0] => 110011100010 => 000010011111 => 010000011111 => 1
[1,1,0,0,1,1,1,0,0,1,0,0] => 110011100100 => 000010011111 => 010000011111 => 1
[1,1,0,0,1,1,1,1,0,0,0,0] => 110011110000 => 000000111111 => 000000111111 => 0
[1,1,0,1,1,1,1,0,0,0,0,0] => 110111100000 => 000000111111 => 000000111111 => 0
[1,1,1,0,0,0,1,1,0,0,1,0] => 111000110010 => 000011001111 => 010000101111 => 2
[1,1,1,0,0,0,1,1,1,0,0,0] => 111000111000 => 000000111111 => 000000111111 => 0
[1,1,1,0,0,1,0,0,1,1,0,0] => 111001001100 => 000010011111 => 010000011111 => 1
[1,1,1,0,0,1,1,0,0,0,1,0] => 111001100010 => 000010011111 => 010000011111 => 1
[1,1,1,0,0,1,1,0,0,1,0,0] => 111001100100 => 000010011111 => 010000011111 => 1
[1,1,1,0,0,1,1,1,0,0,0,0] => 111001110000 => 000000111111 => 000000111111 => 0
[1,1,1,0,1,1,1,0,0,0,0,0] => 111011100000 => 000000111111 => 000000111111 => 0
[1,1,1,1,0,0,0,0,1,1,0,0] => 111100001100 => 000000111111 => 000000111111 => 0
[1,1,1,1,0,0,0,1,0,0,1,0] => 111100010010 => 000010011111 => 010000011111 => 1
[1,1,1,1,0,0,0,1,1,0,0,0] => 111100011000 => 000000111111 => 000000111111 => 0
[1,1,1,1,0,0,1,0,0,0,1,0] => 111100100010 => 000010011111 => 010000011111 => 1
[1,1,1,1,0,0,1,0,0,1,0,0] => 111100100100 => 000010011111 => 010000011111 => 1
[1,1,1,1,0,0,1,1,0,0,0,0] => 111100110000 => 000000111111 => 000000111111 => 0
[1,1,1,1,0,1,1,0,0,0,0,0] => 111101100000 => 000000111111 => 000000111111 => 0
[1,1,1,1,1,0,0,0,0,0,1,0] => 111110000010 => 000000111111 => 000000111111 => 0
[1,1,1,1,1,0,0,0,0,1,0,0] => 111110000100 => 000000111111 => 000000111111 => 0
[1,1,1,1,1,0,0,0,1,0,0,0] => 111110001000 => 000000111111 => 000000111111 => 0
[1,1,1,1,1,0,0,1,0,0,0,0] => 111110010000 => 000000111111 => 000000111111 => 0
[1,1,1,1,1,0,1,0,0,0,0,0] => 111110100000 => 000000111111 => 000000111111 => 0
[1,1,1,1,1,1,0,0,0,0,0,0] => 111111000000 => 000000111111 => 000000111111 => 0
search for individual values
searching the database for the individual values of this statistic
/ search for generating function
searching the database for statistics with the same generating function
click to show known generating functions       
Description
The number of descents of a binary word.
Map
Foata bijection
Description
The Foata bijection $\phi$ is a bijection on the set of words of given content (by a slight generalization of Section 2 in [1]).
Given a word $w_1 w_2 ... w_n$, compute the image inductively by starting with $\phi(w_1) = w_1$. At the $i$-th step, if $\phi(w_1 w_2 ... w_i) = v_1 v_2 ... v_i$, define $\phi(w_1 w_2 ... w_i w_{i+1})$ by placing $w_{i+1}$ on the end of the word $v_1 v_2 ... v_i$ and breaking the word up into blocks as follows.
  • If $w_{i+1} \geq v_i$, place a vertical line to the right of each $v_k$ for which $w_{i+1} \geq v_k$.
  • If $w_{i+1} < v_i$, place a vertical line to the right of each $v_k$ for which $w_{i+1} < v_k$.
In either case, place a vertical line at the start of the word as well. Now, within each block between vertical lines, cyclically shift the entries one place to the right.
For instance, to compute $\phi(4154223)$, the sequence of words is
  • 4,
  • |4|1 -- > 41,
  • |4|1|5 -- > 415,
  • |415|4 -- > 5414,
  • |5|4|14|2 -- > 54412,
  • |5441|2|2 -- > 154422,
  • |1|5442|2|3 -- > 1254423.
So $\phi(4154223) = 1254423$.
Map
to binary word
Description
Return the Dyck word as binary word.
Map
runsort
Description
The word obtained by sorting the weakly increasing runs lexicographically.