Identifier
Values
[1,0] => [1,1,0,0] => 1100 => 0110 => 1
[1,0,1,0] => [1,1,0,1,0,0] => 110100 => 011100 => 2
[1,1,0,0] => [1,1,1,0,0,0] => 111000 => 001110 => 2
[1,0,1,0,1,0] => [1,1,0,1,0,1,0,0] => 11010100 => 01111000 => 3
[1,0,1,1,0,0] => [1,1,0,1,1,0,0,0] => 11011000 => 00111010 => 2
[1,1,0,0,1,0] => [1,1,1,0,0,1,0,0] => 11100100 => 01011100 => 2
[1,1,0,1,0,0] => [1,1,1,0,1,0,0,0] => 11101000 => 00111100 => 2
[1,1,1,0,0,0] => [1,1,1,1,0,0,0,0] => 11110000 => 00011110 => 3
[] => [1,0] => 10 => 10 => 1
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
Description
Half the length of a longest factor which is its own reverse-complement of a binary word.
Map
to binary word
Description
Return the Dyck word as 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
prime Dyck path
Description
Return the Dyck path obtained by adding an initial up and a final down step.