login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A228526 Triangle read by rows: T(n,k) = sum of all parts of size k in all compositions (ordered partitions) of n. 7
1, 2, 2, 5, 4, 3, 12, 10, 6, 4, 28, 24, 15, 8, 5, 64, 56, 36, 20, 10, 6, 144, 128, 84, 48, 25, 12, 7, 320, 288, 192, 112, 60, 30, 14, 8, 704, 640, 432, 256, 140, 72, 35, 16, 9, 1536, 1408, 960, 576, 320, 168, 84, 40, 18, 10, 3328, 3072, 2112, 1280, 720 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The equivalent sequence for partitions is A138785, see the first comment there.
LINKS
FORMULA
T(n,k) = k*A045623(n-k) = k*A221876(n,k), n >=1, 1<=k<=n.
EXAMPLE
T(4,2) = 10 because there are 5 parts of size 2 in all compositions of 4, T(4,2) = 5*2 = 10 (see below):
---------------------------------------------------------
. Compositions Parts Sum of parts
. of 4 Diagram of size 2 of size 2
---------------------------------------------------------
. _ _ _ _
. 1+1+1+1 |_| | | | 0 0
. 2+1+1 |_ _| | | 1 2
. 1+2+1 |_| | | 1 2
. 3+1 |_ _ _| | 0 0
. 1+1+2 |_| | | 1 2
. 2+2 |_ _| | 2 4
. 1+3 |_| | 0 0
. 4 |_ _ _ _| 0 0
. ----- ------
. Total 5 10
.
Triangle begins:
1;
2, 2;
5, 4, 3;
12, 10, 6, 4;
28, 24, 15, 8, 5;
64, 56, 36, 20, 10, 6;
144, 128, 84, 48, 25, 12, 7;
320, 288, 192, 112, 60, 30, 14, 8;
704, 640, 432, 256, 140, 72, 35, 16, 9;
1536, 1408, 960, 576, 320, 168, 84, 40, 18, 10;
3328, 3072, 2112, 1280, 720, 384, 196, 96, 45, 20, 11;
...
CROSSREFS
Column k is k*A045623. Row sums give A001787, n >= 1. Right border gives A000027.
Sequence in context: A283235 A209763 A209761 * A209745 A249620 A358537
KEYWORD
nonn,tabl
AUTHOR
Omar E. Pol, Aug 28 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 08:48 EDT 2024. Contains 371930 sequences. (Running on oeis4.)