Weak Composition Calculator

Stars and bars counting

All Tools

Loading tool...

About Weak Composition Calculator

A weak composition calculator counting ordered sequences of k non-negative integers summing to n. Formula: C(n+k-1, k-1) by stars and bars. Unlike strict compositions, parts can be zero. Shows all weak compositions for small values. Client-side.

Weak Composition Calculator Features

  • Count C(n+k-1,k-1)
  • Stars and bars
  • List all
  • Distribution
  • Comparison
Advertisement
Advertisement