# Arranging Balls into Boxes

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration provides the answers to a variety of questions of the type, In how many ways can balls be placed into boxes? You can vary the number of balls and boxes. Options include distinguishable or indistinguishable balls, distinguishable or indistinguishable boxes, and whether or not empty boxes are permitted.

Contributed by: Marc Brodie (February 2018)

(Wheeling Jesuit University)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

Notation follows Martin's text [1]. In particular, stands for the number of integer partitions of into exactly parts.

References

[1] G. E. Martin, *Counting*:* The Art of Enumerative Combinatorics*, New York: Springer-Verlag, 2001.

## Permanent Citation