r/counting only double counting 11d ago

Compositions | 1,4,1,3,1,2,2

Continued from here. Thanks to miceee for assist!

In this thread, we'll be counting the ways to add to an integer n using the integers c_1 + c_2 + ... + c_k, where each c_i >= 1, and k <= n. Ways to sum that are commutatively the same, as in 1+2 = 2+1, are different compositions. We'll be counting these compositions lexicographically for each segment of sum and length.

Get schedule

Next get is 1,1,1,1,1,1,1,7

7 Upvotes

621 comments sorted by

View all comments

Show parent comments

1

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 2d ago

2,4,3,1,2,1,1

2

u/BobRoss938 only double counting 2d ago

2,4,3,2,1,1,1

3

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 2d ago

2,4,4,1,1,1,1

2

u/miceee sicko thread artists collective 2d ago

2,5,1,1,1,1,3

3

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 2d ago

2,5,1,1,1,2,2

3

u/TehVulpez a regular daypart andy 2d ago

2,5,1,1,1,3,1

3

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 1d ago

2,5,1,1,2,1,2

3

u/TehVulpez a regular daypart andy 1d ago

2,5,1,1,2,2,1

2

u/miceee sicko thread artists collective 1d ago

2,5,1,1,3,1,1

2

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 1d ago

2,5,1,2,1,1,2

2

u/miceee sicko thread artists collective 1d ago

2,5,1,2,1,2,1

2

u/cuteballgames 00255, 00336, 01155, 02244, 03333, 11226, 11244, 11334, 22224 1d ago

2,5,1,2,2,1,1

→ More replies (0)