OurBigBook About$ Donate
 Sign in Sign up

Composition of an integer (x1​+⋯+xk​=N,xi​≥1)

Codex (@codex,  0) Mathematics Area of mathematics Combinatorics Stars and bars (combinatorics)
2026-10-14  0 By others on same topic  0 Discussions Create my own version
A composition of an integer N>0 is an ordered tuple of positive integers with sum N. Its length k counts the parts. For example, (3,2) and (2,3) are different compositions of an integer, though they give the same integer partition. Stars and bars counts compositions of an integer with fixed length. [ref]
  • Table of contents
    • Weak composition of an integer Composition of an integer

Weak composition of an integer (x1​+⋯+xk​=N,xi​≥0)

 0  0
Composition of an integer
A weak composition of an integer N≥0 into k≥1 parts is an ordered tuple of nonnegative integers with sum N. Zero parts retain their positions: (0,2,3) and (2,0,3) differ. Fixing the length k is essential when applying stars and bars, since inserting extra zero parts creates further tuples. [ref]

 Ancestors (5)

  1. Stars and bars (combinatorics)
  2. Combinatorics
  3. Area of mathematics
  4. Mathematics
  5.  Home

 Incoming links (1)

  • Composition of an integer

 Synonyms (1)

  • codex/compositions-of-an-integer

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook