Identifier
-
Mp00199:
Dyck paths
—prime Dyck path⟶
Dyck paths
Mp00140: Dyck paths —logarithmic height to pruning number⟶ Binary trees
St000201: Binary trees ⟶ ℤ (values match St000196The number of occurrences of the contiguous pattern [[.,.],[.,.)
Values
[1,0] => [1,1,0,0] => [[.,.],.] => 1
[1,0,1,0] => [1,1,0,1,0,0] => [[[.,.],.],.] => 1
[1,1,0,0] => [1,1,1,0,0,0] => [[.,.],[.,.]] => 2
[1,0,1,0,1,0] => [1,1,0,1,0,1,0,0] => [[[[.,.],.],.],.] => 1
[1,0,1,1,0,0] => [1,1,0,1,1,0,0,0] => [[[.,.],[.,.]],.] => 2
[1,1,0,0,1,0] => [1,1,1,0,0,1,0,0] => [[.,.],[[.,.],.]] => 2
[1,1,0,1,0,0] => [1,1,1,0,1,0,0,0] => [[.,[.,.]],[.,.]] => 2
[1,1,1,0,0,0] => [1,1,1,1,0,0,0,0] => [[[.,.],.],[.,.]] => 2
[1,0,1,0,1,0,1,0] => [1,1,0,1,0,1,0,1,0,0] => [[[[[.,.],.],.],.],.] => 1
[1,0,1,0,1,1,0,0] => [1,1,0,1,0,1,1,0,0,0] => [[[[.,.],[.,.]],.],.] => 2
[1,0,1,1,0,0,1,0] => [1,1,0,1,1,0,0,1,0,0] => [[[.,.],[[.,.],.]],.] => 2
[1,0,1,1,0,1,0,0] => [1,1,0,1,1,0,1,0,0,0] => [[[.,[.,.]],[.,.]],.] => 2
[1,0,1,1,1,0,0,0] => [1,1,0,1,1,1,0,0,0,0] => [[[[.,.],.],[.,.]],.] => 2
[1,1,0,0,1,0,1,0] => [1,1,1,0,0,1,0,1,0,0] => [[.,.],[[[.,.],.],.]] => 2
[1,1,0,0,1,1,0,0] => [1,1,1,0,0,1,1,0,0,0] => [[.,.],[[.,.],[.,.]]] => 3
[1,1,0,1,0,0,1,0] => [1,1,1,0,1,0,0,1,0,0] => [[.,[.,.]],[[.,.],.]] => 2
[1,1,0,1,0,1,0,0] => [1,1,1,0,1,0,1,0,0,0] => [[.,[.,[.,.]]],[.,.]] => 2
[1,1,0,1,1,0,0,0] => [1,1,1,0,1,1,0,0,0,0] => [[.,[[.,.],.]],[.,.]] => 2
[1,1,1,0,0,0,1,0] => [1,1,1,1,0,0,0,1,0,0] => [[[.,.],.],[[.,.],.]] => 2
[1,1,1,0,0,1,0,0] => [1,1,1,1,0,0,1,0,0,0] => [[[.,[.,.]],.],[.,.]] => 2
[1,1,1,0,1,0,0,0] => [1,1,1,1,0,1,0,0,0,0] => [[[[.,.],.],.],[.,.]] => 2
[1,1,1,1,0,0,0,0] => [1,1,1,1,1,0,0,0,0,0] => [[[.,.],[.,.]],[.,.]] => 3
[1,0,1,0,1,0,1,0,1,0] => [1,1,0,1,0,1,0,1,0,1,0,0] => [[[[[[.,.],.],.],.],.],.] => 1
[1,0,1,0,1,0,1,1,0,0] => [1,1,0,1,0,1,0,1,1,0,0,0] => [[[[[.,.],[.,.]],.],.],.] => 2
[1,0,1,0,1,1,0,0,1,0] => [1,1,0,1,0,1,1,0,0,1,0,0] => [[[[.,.],[[.,.],.]],.],.] => 2
[1,0,1,0,1,1,0,1,0,0] => [1,1,0,1,0,1,1,0,1,0,0,0] => [[[[.,[.,.]],[.,.]],.],.] => 2
[1,0,1,0,1,1,1,0,0,0] => [1,1,0,1,0,1,1,1,0,0,0,0] => [[[[[.,.],.],[.,.]],.],.] => 2
[1,0,1,1,0,0,1,0,1,0] => [1,1,0,1,1,0,0,1,0,1,0,0] => [[[.,.],[[[.,.],.],.]],.] => 2
[1,0,1,1,0,0,1,1,0,0] => [1,1,0,1,1,0,0,1,1,0,0,0] => [[[.,.],[[.,.],[.,.]]],.] => 3
[1,0,1,1,0,1,0,0,1,0] => [1,1,0,1,1,0,1,0,0,1,0,0] => [[[.,[.,.]],[[.,.],.]],.] => 2
[1,0,1,1,0,1,0,1,0,0] => [1,1,0,1,1,0,1,0,1,0,0,0] => [[[.,[.,[.,.]]],[.,.]],.] => 2
[1,0,1,1,0,1,1,0,0,0] => [1,1,0,1,1,0,1,1,0,0,0,0] => [[[.,[[.,.],.]],[.,.]],.] => 2
[1,0,1,1,1,0,0,0,1,0] => [1,1,0,1,1,1,0,0,0,1,0,0] => [[[[.,.],.],[[.,.],.]],.] => 2
[1,0,1,1,1,0,0,1,0,0] => [1,1,0,1,1,1,0,0,1,0,0,0] => [[[[.,[.,.]],.],[.,.]],.] => 2
[1,0,1,1,1,0,1,0,0,0] => [1,1,0,1,1,1,0,1,0,0,0,0] => [[[[[.,.],.],.],[.,.]],.] => 2
[1,0,1,1,1,1,0,0,0,0] => [1,1,0,1,1,1,1,0,0,0,0,0] => [[[[.,.],[.,.]],[.,.]],.] => 3
[1,1,0,0,1,0,1,0,1,0] => [1,1,1,0,0,1,0,1,0,1,0,0] => [[.,.],[[[[.,.],.],.],.]] => 2
[1,1,0,0,1,0,1,1,0,0] => [1,1,1,0,0,1,0,1,1,0,0,0] => [[.,.],[[[.,.],[.,.]],.]] => 3
[1,1,0,0,1,1,0,0,1,0] => [1,1,1,0,0,1,1,0,0,1,0,0] => [[.,.],[[.,.],[[.,.],.]]] => 3
[1,1,0,0,1,1,0,1,0,0] => [1,1,1,0,0,1,1,0,1,0,0,0] => [[.,.],[[.,[.,.]],[.,.]]] => 3
[1,1,0,0,1,1,1,0,0,0] => [1,1,1,0,0,1,1,1,0,0,0,0] => [[.,.],[[[.,.],.],[.,.]]] => 3
[1,1,0,1,0,0,1,0,1,0] => [1,1,1,0,1,0,0,1,0,1,0,0] => [[.,[.,.]],[[[.,.],.],.]] => 2
[1,1,0,1,0,0,1,1,0,0] => [1,1,1,0,1,0,0,1,1,0,0,0] => [[.,[.,.]],[[.,.],[.,.]]] => 3
[1,1,0,1,0,1,0,0,1,0] => [1,1,1,0,1,0,1,0,0,1,0,0] => [[.,[.,[.,.]]],[[.,.],.]] => 2
[1,1,0,1,0,1,0,1,0,0] => [1,1,1,0,1,0,1,0,1,0,0,0] => [[.,[.,[.,[.,.]]]],[.,.]] => 2
[1,1,0,1,0,1,1,0,0,0] => [1,1,1,0,1,0,1,1,0,0,0,0] => [[.,[.,[[.,.],.]]],[.,.]] => 2
[1,1,0,1,1,0,0,0,1,0] => [1,1,1,0,1,1,0,0,0,1,0,0] => [[.,[[.,.],.]],[[.,.],.]] => 2
[1,1,0,1,1,0,0,1,0,0] => [1,1,1,0,1,1,0,0,1,0,0,0] => [[.,[[.,[.,.]],.]],[.,.]] => 2
[1,1,0,1,1,0,1,0,0,0] => [1,1,1,0,1,1,0,1,0,0,0,0] => [[.,[[[.,.],.],.]],[.,.]] => 2
[1,1,0,1,1,1,0,0,0,0] => [1,1,1,0,1,1,1,0,0,0,0,0] => [[.,[[.,.],[.,.]]],[.,.]] => 3
[1,1,1,0,0,0,1,0,1,0] => [1,1,1,1,0,0,0,1,0,1,0,0] => [[[.,.],.],[[[.,.],.],.]] => 2
[1,1,1,0,0,0,1,1,0,0] => [1,1,1,1,0,0,0,1,1,0,0,0] => [[[.,.],.],[[.,.],[.,.]]] => 3
[1,1,1,0,0,1,0,0,1,0] => [1,1,1,1,0,0,1,0,0,1,0,0] => [[[.,[.,.]],.],[[.,.],.]] => 2
[1,1,1,0,0,1,0,1,0,0] => [1,1,1,1,0,0,1,0,1,0,0,0] => [[[.,[.,[.,.]]],.],[.,.]] => 2
[1,1,1,0,0,1,1,0,0,0] => [1,1,1,1,0,0,1,1,0,0,0,0] => [[[.,[[.,.],.]],.],[.,.]] => 2
[1,1,1,0,1,0,0,0,1,0] => [1,1,1,1,0,1,0,0,0,1,0,0] => [[[[.,.],.],.],[[.,.],.]] => 2
[1,1,1,0,1,0,0,1,0,0] => [1,1,1,1,0,1,0,0,1,0,0,0] => [[[[.,[.,.]],.],.],[.,.]] => 2
[1,1,1,0,1,0,1,0,0,0] => [1,1,1,1,0,1,0,1,0,0,0,0] => [[[[[.,.],.],.],.],[.,.]] => 2
[1,1,1,0,1,1,0,0,0,0] => [1,1,1,1,0,1,1,0,0,0,0,0] => [[[[.,.],[.,.]],.],[.,.]] => 3
[1,1,1,1,0,0,0,0,1,0] => [1,1,1,1,1,0,0,0,0,1,0,0] => [[[.,.],[[.,.],.]],[.,.]] => 3
[1,1,1,1,0,0,0,1,0,0] => [1,1,1,1,1,0,0,0,1,0,0,0] => [[[.,[.,.]],[.,.]],[.,.]] => 3
[1,1,1,1,0,0,1,0,0,0] => [1,1,1,1,1,0,0,1,0,0,0,0] => [[[[.,.],.],[.,.]],[.,.]] => 3
[1,1,1,1,0,1,0,0,0,0] => [1,1,1,1,1,0,1,0,0,0,0,0] => [[[.,.],[.,.]],[.,[.,.]]] => 3
[1,1,1,1,1,0,0,0,0,0] => [1,1,1,1,1,1,0,0,0,0,0,0] => [[[.,.],[.,.]],[[.,.],.]] => 3
[1,0,1,0,1,0,1,0,1,0,1,0] => [1,1,0,1,0,1,0,1,0,1,0,1,0,0] => [[[[[[[.,.],.],.],.],.],.],.] => 1
[1,0,1,0,1,0,1,0,1,1,0,0] => [1,1,0,1,0,1,0,1,0,1,1,0,0,0] => [[[[[[.,.],[.,.]],.],.],.],.] => 2
[1,0,1,0,1,0,1,1,0,0,1,0] => [1,1,0,1,0,1,0,1,1,0,0,1,0,0] => [[[[[.,.],[[.,.],.]],.],.],.] => 2
[1,0,1,0,1,0,1,1,0,1,0,0] => [1,1,0,1,0,1,0,1,1,0,1,0,0,0] => [[[[[.,[.,.]],[.,.]],.],.],.] => 2
[1,0,1,0,1,0,1,1,1,0,0,0] => [1,1,0,1,0,1,0,1,1,1,0,0,0,0] => [[[[[[.,.],.],[.,.]],.],.],.] => 2
[1,0,1,0,1,1,0,0,1,0,1,0] => [1,1,0,1,0,1,1,0,0,1,0,1,0,0] => [[[[.,.],[[[.,.],.],.]],.],.] => 2
[1,0,1,0,1,1,0,0,1,1,0,0] => [1,1,0,1,0,1,1,0,0,1,1,0,0,0] => [[[[.,.],[[.,.],[.,.]]],.],.] => 3
[1,0,1,0,1,1,0,1,0,0,1,0] => [1,1,0,1,0,1,1,0,1,0,0,1,0,0] => [[[[.,[.,.]],[[.,.],.]],.],.] => 2
[1,0,1,0,1,1,0,1,0,1,0,0] => [1,1,0,1,0,1,1,0,1,0,1,0,0,0] => [[[[.,[.,[.,.]]],[.,.]],.],.] => 2
[1,0,1,0,1,1,0,1,1,0,0,0] => [1,1,0,1,0,1,1,0,1,1,0,0,0,0] => [[[[.,[[.,.],.]],[.,.]],.],.] => 2
[1,0,1,0,1,1,1,0,0,0,1,0] => [1,1,0,1,0,1,1,1,0,0,0,1,0,0] => [[[[[.,.],.],[[.,.],.]],.],.] => 2
[1,0,1,0,1,1,1,0,0,1,0,0] => [1,1,0,1,0,1,1,1,0,0,1,0,0,0] => [[[[[.,[.,.]],.],[.,.]],.],.] => 2
[1,0,1,0,1,1,1,0,1,0,0,0] => [1,1,0,1,0,1,1,1,0,1,0,0,0,0] => [[[[[[.,.],.],.],[.,.]],.],.] => 2
[1,0,1,0,1,1,1,1,0,0,0,0] => [1,1,0,1,0,1,1,1,1,0,0,0,0,0] => [[[[[.,.],[.,.]],[.,.]],.],.] => 3
[1,0,1,1,0,0,1,0,1,0,1,0] => [1,1,0,1,1,0,0,1,0,1,0,1,0,0] => [[[.,.],[[[[.,.],.],.],.]],.] => 2
[1,0,1,1,0,0,1,0,1,1,0,0] => [1,1,0,1,1,0,0,1,0,1,1,0,0,0] => [[[.,.],[[[.,.],[.,.]],.]],.] => 3
[1,0,1,1,0,0,1,1,0,0,1,0] => [1,1,0,1,1,0,0,1,1,0,0,1,0,0] => [[[.,.],[[.,.],[[.,.],.]]],.] => 3
[1,0,1,1,0,0,1,1,0,1,0,0] => [1,1,0,1,1,0,0,1,1,0,1,0,0,0] => [[[.,.],[[.,[.,.]],[.,.]]],.] => 3
[1,0,1,1,0,0,1,1,1,0,0,0] => [1,1,0,1,1,0,0,1,1,1,0,0,0,0] => [[[.,.],[[[.,.],.],[.,.]]],.] => 3
[1,0,1,1,0,1,0,0,1,0,1,0] => [1,1,0,1,1,0,1,0,0,1,0,1,0,0] => [[[.,[.,.]],[[[.,.],.],.]],.] => 2
[1,0,1,1,0,1,0,0,1,1,0,0] => [1,1,0,1,1,0,1,0,0,1,1,0,0,0] => [[[.,[.,.]],[[.,.],[.,.]]],.] => 3
[1,0,1,1,0,1,0,1,0,0,1,0] => [1,1,0,1,1,0,1,0,1,0,0,1,0,0] => [[[.,[.,[.,.]]],[[.,.],.]],.] => 2
[1,0,1,1,0,1,0,1,0,1,0,0] => [1,1,0,1,1,0,1,0,1,0,1,0,0,0] => [[[.,[.,[.,[.,.]]]],[.,.]],.] => 2
[1,0,1,1,0,1,0,1,1,0,0,0] => [1,1,0,1,1,0,1,0,1,1,0,0,0,0] => [[[.,[.,[[.,.],.]]],[.,.]],.] => 2
[1,0,1,1,0,1,1,0,0,0,1,0] => [1,1,0,1,1,0,1,1,0,0,0,1,0,0] => [[[.,[[.,.],.]],[[.,.],.]],.] => 2
[1,0,1,1,0,1,1,0,0,1,0,0] => [1,1,0,1,1,0,1,1,0,0,1,0,0,0] => [[[.,[[.,[.,.]],.]],[.,.]],.] => 2
[1,0,1,1,0,1,1,0,1,0,0,0] => [1,1,0,1,1,0,1,1,0,1,0,0,0,0] => [[[.,[[[.,.],.],.]],[.,.]],.] => 2
[1,0,1,1,0,1,1,1,0,0,0,0] => [1,1,0,1,1,0,1,1,1,0,0,0,0,0] => [[[.,[[.,.],[.,.]]],[.,.]],.] => 3
[1,0,1,1,1,0,0,0,1,0,1,0] => [1,1,0,1,1,1,0,0,0,1,0,1,0,0] => [[[[.,.],.],[[[.,.],.],.]],.] => 2
[1,0,1,1,1,0,0,0,1,1,0,0] => [1,1,0,1,1,1,0,0,0,1,1,0,0,0] => [[[[.,.],.],[[.,.],[.,.]]],.] => 3
[1,0,1,1,1,0,0,1,0,0,1,0] => [1,1,0,1,1,1,0,0,1,0,0,1,0,0] => [[[[.,[.,.]],.],[[.,.],.]],.] => 2
[1,0,1,1,1,0,0,1,0,1,0,0] => [1,1,0,1,1,1,0,0,1,0,1,0,0,0] => [[[[.,[.,[.,.]]],.],[.,.]],.] => 2
[1,0,1,1,1,0,0,1,1,0,0,0] => [1,1,0,1,1,1,0,0,1,1,0,0,0,0] => [[[[.,[[.,.],.]],.],[.,.]],.] => 2
[1,0,1,1,1,0,1,0,0,0,1,0] => [1,1,0,1,1,1,0,1,0,0,0,1,0,0] => [[[[[.,.],.],.],[[.,.],.]],.] => 2
[1,0,1,1,1,0,1,0,0,1,0,0] => [1,1,0,1,1,1,0,1,0,0,1,0,0,0] => [[[[[.,[.,.]],.],.],[.,.]],.] => 2
[1,0,1,1,1,0,1,0,1,0,0,0] => [1,1,0,1,1,1,0,1,0,1,0,0,0,0] => [[[[[[.,.],.],.],.],[.,.]],.] => 2
[1,0,1,1,1,0,1,1,0,0,0,0] => [1,1,0,1,1,1,0,1,1,0,0,0,0,0] => [[[[[.,.],[.,.]],.],[.,.]],.] => 3
>>> Load all 302 entries. <<<
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
The number of leaf nodes in a binary tree.
Equivalently, the number of cherries [1] in the complete binary tree.
The number of binary trees of size $n$, at least $1$, with exactly one leaf node for is $2^{n-1}$, see [2].
The number of binary tree of size $n$, at least $3$, with exactly two leaf nodes is $n(n+1)2^{n-2}$, see [3].
Equivalently, the number of cherries [1] in the complete binary tree.
The number of binary trees of size $n$, at least $1$, with exactly one leaf node for is $2^{n-1}$, see [2].
The number of binary tree of size $n$, at least $3$, with exactly two leaf nodes is $n(n+1)2^{n-2}$, see [3].
Map
prime Dyck path
Description
Return the Dyck path obtained by adding an initial up and a final down step.
Map
logarithmic height to pruning number
Description
Francon's map from Dyck paths to binary trees.
This bijection sends the logarithmic height of the Dyck path, St000920The logarithmic height of a Dyck path., to the pruning number of the binary tree, St000396The register function (or Horton-Strahler number) of a binary tree.. The implementation is a literal translation of Knuth's [2].
This bijection sends the logarithmic height of the Dyck path, St000920The logarithmic height of a Dyck path., to the pruning number of the binary tree, St000396The register function (or Horton-Strahler number) of a binary tree.. The implementation is a literal translation of Knuth's [2].
searching the database
Sorry, this statistic was not found in the database
or
add this statistic to the database – it's very simple and we need your support!