This site is supported by donations to The OEIS Foundation.
Restricted compositions
From OeisWiki
(Redirected from Tetrahedral dice)
Contents
Restricted size of parts
(...)
Restricted number of parts
Note that since the empty sum is defined as 0, the number of compositions into 0 parts of 0 is 1.
The number of compositions intok |
n |
k − 1 |
n − 1 |
n |
c (n, k ) = (
|
The number of compositions with at most
k |
n |
|
The number of compositions with at least
k |
n |
|
The number of compositions with an odd number of parts of a positive integer
n |
(...)
The number of compositions with an even number of parts of a positive integern |
(...)
Restricted number of parts and restricted size of parts
n parts of size at most m
Compositions ofn ≤ k ≤ m n |
n |
m |
The number of compositions of
n ≤ k ≤ m n |
n |
m |
x k |
(
|
m |
Cm(n , j ) |
x j = x k − n |
(
|
The [univariate]
m |
m ≥ 2 |
-
Cm(0, 0) := 1;
-
Cm(n , j ) := j∑ i = j − (m − 1) n
Cm(n, j ) := 0 |
j < 0 |
j > (m − 1) n |
For [univariate]
m |
n ≥ 0 |
x j, 0 ≤ j ≤ (m − 1) n , |
(
|
|
[Univariate]
|
A-number | |||
---|---|---|---|---|---|
2 | 1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 6, 4, 1, 1, 5, 10, 10, 5, 1, 1, 6, 15, 20, 15, 6, 1, 1, 7, 21, 35, 35, 21, 7, 1, 1, 8, 28, 56, 70, 56, 28, 8, 1, 1, 9, 36, 84, 126, 126, 84, 36, 9, 1, 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1, 1, 11, 55, 165, 330, 462, 462, 330, 165, 55, 11, 1, ... | A007318 | |||
3 | 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 3, 6, 7, 6, 3, 1, 1, 4, 10, 16, 19, 16, 10, 4, 1, 1, 5, 15, 30, 45, 51, 45, 30, 15, 5, 1, 1, 6, 21, 50, 90, 126, 141, 126, 90, 50, 21, 6, 1, 1, 7, 28, 77, 161, 266, 357, 393, 357, 266, 161, 77, 28, 7, 1, 1, 8, 36, 112, 266, ... | A027907 | |||
4 | 1, 1, 1, 1, 1, 1, 2, 3, 4, 3, 2, 1, 1, 3, 6, 10, 12, 12, 10, 6, 3, 1, 1, 4, 10, 20, 31, 40, 44, 40, 31, 20, 10, 4, 1, 1, 5, 15, 35, 65, 101, 135, 155, 155, 135, 101, 65, 35, 15, 5, 1, 1, 6, 21, 56, 120, 216, 336, 456, 546, 580, 546, 456, 336, 216, 120, 56, 21, 6, 1, ... | A008287 | |||
5 | 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 18, 19, 18, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 52, 68, 80, 85, 80, 68, 52, 35, 20, 10, 4, 1, 1, 5, 15, 35, 70, 121, 185, 255, 320, 365, 381, 365, 320, 255, 185, 121, 70, 35, 15, 5, 1, 1, 6, 21, 56, 126, 246, 426, 666, ... | A035343 | |||
6 | 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 25, 27, 27, 25, 21, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 56, 80, 104, 125, 140, 146, 140, 125, 104, 80, 56, 35, 20, 10, 4, 1, ... | A063260 | |||
7 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 33, 36, 37, 36, 33, 28, 21, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 56, 84, 116, 149, 180, 206, 224, 231, 224, 206, 180, 149, 116, 84, 56, 35, ... | A063265 | |||
8 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 36, 42, 46, 48, 48, 46, 42, 36, 28, 21, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 56, 84, 120, 161, 204, 246, 284, 315, 336, 344, 336, 315, 284, 246, 204, 161, 120, 84, 56, 35, 20, 10, 4, 1, ... | A171890 | |||
9 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 36, 45, 52, 57, 60, 61, 60, 57, 52, 45, 36, 28, 21, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 56, 84, 120, 165, 216, 270, 324, 375, 420, 456, 480, 489, 480, 456, ... | A213652 | |||
10 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 63, 69, 73, 75, 75, 73, 69, 63, 55, 45, 36, 28, 21, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 56, 84, 120, 165, 220, 282, 348, 415, 480, ... | A213651 | |||
11 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 75, 82, 87, 90, 91, 90, 87, 82, 75, 66, 55, 45, 36, 28, 21, 15, 10, 6, 3, 1, ... | A?????? | |||
12 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 88, 96, 102, 106, 108, 108, 106, 102, 96, 88, 78, 66, 55, 45, 36, 28, 21, 15, 10, 6, 3, 1, ... | A?????? |
m |
m |
All
k |
1 ≤ k ≤ 2 m − 1 |
k + 1 |
Coins
Coins (e.g., considering head as 1 and tail as 2) may be taken as “dihedral dice.”
“Dihedral dice” (n |
n ≥ 2 |
n ≤ k ≤ 2 n |
n |
The number of compositions of
n ≤ k ≤ 2 n |
n |
n2 = n − n1 |
( nk ) |
x k |
(x 1 + x 2 ) n = x n (x 0 + x 1 ) n |
n ≤ k ≤ 2 n |
n |
Row
n, n ≥ 0, |
x j, 0 ≤ j ≤ n , |
(x 0 + x 1 ) n |
n |
A007318 Pascal’s triangle read by rows:
C (n, k ) = ( nk ) =
|
- {1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 6, 4, 1, 1, 5, 10, 10, 5, 1, 1, 6, 15, 20, 15, 6, 1, 1, 7, 21, 35, 35, 21, 7, 1, 1, 8, 28, 56, 70, 56, 28, 8, 1, 1, 9, 36, 84, 126, 126, 84, 36, 9, 1, 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1, 1, 11, 55, 165, 330, 462, 462, 330, 165, 55, 11, 1, ...}
Dice
Tetrahedral dice
Tetrahedral dice (n |
n ≥ 2 |
n ≤ k ≤ 4 n |
n |
The number of compositions of
n ≤ k ≤ 4 n |
n |
x k |
(x 1 + x 2 + x 3 + x 4 ) n = x n (x 0 + x 1 + x 2 + x 3 ) n |
n ≤ k ≤ 4 n |
n |
Row
n, n ≥ 0, |
x j, 0 ≤ j ≤ 3 n , |
(x 0 + x 1 + x 2 + x 3 ) n |
n |
A008287 Triangle of [univariate] quadrinomial (also called tetranomial) coefficients. Row
n, n ≥ 0, |
(1 + x + x 2 + x 3 ) n |
- {1, 1, 1, 1, 1, 1, 2, 3, 4, 3, 2, 1, 1, 3, 6, 10, 12, 12, 10, 6, 3, 1, 1, 4, 10, 20, 31, 40, 44, 40, 31, 20, 10, 4, 1, 1, 5, 15, 35, 65, 101, 135, 155, 155, 135, 101, 65, 35, 15, 5, 1, 1, 6, 21, 56, 120, 216, 336, 456, 546, 580, 546, 456, 336, 216, 120, 56, 21, 6, 1, ...}
Cubic dice
Cubic dice (n |
n ≥ 2 |
n ≤ k ≤ 6 n |
n |
The number of compositions of
n ≤ k ≤ 6 n |
n |
x k |
(x 1 + x 2 + x 3 + x 4 + x 5 + x 6 ) n = x n (x 0 + x 1 + x 2 + x 3 + x 4 + x 5 ) n |
n ≤ k ≤ 6 n |
n |
Row
n, n ≥ 0, |
x j, 0 ≤ j ≤ 5 n , |
(x 0 + x 1 + x 2 + x 3 + x 4 + x 5 ) n |
n |
A063260 [Univariate] sextinomial (also called hexanomial) coefficient array. Row
n, n ≥ 0, |
(
|
- {1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 25, 27, 27, 25, 21, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 56, 80, 104, 125, 140, 146, 140, 125, 104, 80, 56, 35, 20, 10, 4, 1, ...}
Octahedral dice
Octahedral dice (n |
n ≥ 2 |
n ≤ k ≤ 8 n |
n |
The number of compositions of
n ≤ k ≤ 8 n |
n |
x k |
(x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 + x 8 ) n = x n (x 0 + x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 ) n |
n ≤ k ≤ 8 n |
n |
Row
n, n ≥ 0, |
x j, 0 ≤ j ≤ 7n , |
(x 0 + x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 ) n |
n |
A171890 [Univariate] octonomial coefficient array. Row
n, n ≥ 0, |
(
|
- {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 36, 42, 46, 48, 48, 46, 42, 36, 28, 21, 15, 10, 6, 3, 1, 1, 4, 10, 20, 35, 56, 84, 120, 161, 204, 246, 284, 315, 336, 344, 336, 315, 284, 246, 204, 161, 120, 84, 56, 35, 20, 10, 4, 1, ...}
Dodecahedral dice
Dodecahedral dice (n |
n ≥ 2 |
n ≤ k ≤ 12 n |
n |
The number of compositions of
n ≤ k ≤ 12 n |
n |
x k |
(x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 + x 8 + x 9 + x 10 + x 11 + x 12 ) n = x n (x 0 + x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 + x 8 + x 9 + x 10 + x 11 ) n |
n ≤ k ≤ 12 n |
n |
Row
n, n ≥ 0, |
x j, 0 ≤ j ≤ 11 n , |
(x 0 + x 1 + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 + x 8 + x 9 + x 10 + x 11 ) n |
n |
A?????? [Univariate] dodecanomial coefficient array. Row
n, n ≥ 0, |
(
|
- {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 88, 96, 102, 106, 108, 108, 106, 102, 96, 88, 78, 66, 55, 45, 36, 28, 21, 15, 10, 6, 3, 1, ...}
Icosahedral dice
Icosahedral dice (n |
n ≥ 2 |
n ≤ k ≤ 20 n |
n |
The number of compositions of
n ≤ k ≤ 20 n |
n |
x k |
(
|
n ≤ k ≤ 20 n |
n |
Row
n, n ≥ 0, |
x j, 0 ≤ j ≤ 19 n , |
(
|
n |
A?????? [Univariate] icosanomial coefficient array. Row
n, n ≥ 0, |
(
|
- {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, ...}
See also
- Ordered partitions
- Prime signature (which may be viewed as a given partition of
, the number of prime factors (with repetition) ofΩ (n)
)n
- Ordered prime signature (which may be viewed as a given composition of
, the number of prime factors (with repetition) ofΩ (n)
)n
External links
- Gašper Jaklič, Vito Vitrih and Emil Žagar, Closed Form Formula for the Number of Restricted Compositions.
- Weisstein, Eric W., Multinomial Coefficient, from MathWorld—A Wolfram Web Resource.