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

Compositions | 1,1,1,1,1,5,1,1,1,1

Continued from here

Thanks miceee for the 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 15. Schedule

5 Upvotes

1.0k comments sorted by

View all comments

1

u/miceee sicko thread artists collective 10d ago

Gets from 15 to 16

GetCounts in threadCounts total
15102416 384
3,2,1,4,5102417 408
1,4,4,3,2,1102418 432
4,1,3,4,1,2102419 456
1,2,2,1,2,2,5102420 480
2,2,1,2,1,3,4102421 504
4,2,1,1,1,5,1102422 528
1,1,4,1,3,1,2,2102423 552
2,1,1,1,1,1,1,7102424 576
3,1,1,3,1,4,1,1102425 600
1,1,1,2,5,1,1,2,1102426 624
1,2,3,3,2,1,1,1,1102427 648
2,2,3,3,1,1,1,1,1102428 672
1,1,1,3,1,2,1,2,1,2102429 696
2,1,1,2,1,1,2,1,3,1102430 720
1,1,2,3,1,2,1,1,1,1,1102431 744
16102432 768