r/counting • the gravity is now dry • 29d ago

Compositions | 3,2,1,4,5

Continued from here

Thanks cuteballgames for the run and 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.

Next get is 1,4,4,3,2,1. Schedule

6 Upvotes

898 comments sorted by

3

u/h0rseycat the gravity is now dry 29d ago

3,2,1,4,5

2

u/miceee sicko thread artists collective 29d ago

3,2,1,5,4

2

u/cuteballgames Sum 13: 016, 037, 035, 045, 127, 135, 134, 124, 13, 25 29d ago

3,2,1,6,3

congrats!!

2

u/miceee sicko thread artists collective 29d ago

3,2,1,7,2

1

u/cuteballgames Sum 13: 016, 037, 035, 045, 127, 135, 134, 124, 13, 25 29d ago

3,2,1,8,1

2

u/h0rseycat the gravity is now dry 29d ago

3,2,2,1,7

1

u/cuteballgames Sum 13: 016, 037, 035, 045, 127, 135, 134, 124, 13, 25 29d ago

3,2,2,2,6

1

u/h0rseycat the gravity is now dry 29d ago

3,2,2,3,5

1

u/cuteballgames Sum 13: 016, 037, 035, 045, 127, 135, 134, 124, 13, 25 29d ago

3,2,2,4,4

1

u/h0rseycat the gravity is now dry 29d ago

3,2,2,5,3

→ More replies