A Generalization of Placing Identical Items into Identical Bins

Authors

  • Annie G. Wang Department of Mathematics, University of Pittsburgh, Pittsburgh, PA 15260

DOI:

https://doi.org/10.5195/pimr.2024.40

Abstract

A common approach to counting the number of ways to place identical items into identical bins is by casework. In this article, an alternative approach is introduced and robust mathematical formulas are established to calculate the number of ways of placing arbitrary number of identical items into arbitrary number of identical bins. Firstly, single closed formulas for the cases of two and three bins are developed for arbitrary number of items. Secondly, a recursive formula for more than three bins is derived for arbitrary number of items. This recursive formula reduces the number of bins by one in each step until reaching the base case of three bins for which the closed formula derived in this paper can be applied. A Python program is implemented using the derived formulas that can count the number of ways for arbitrary bins and items.

Downloads

Published

2024-12-06

How to Cite

[1]
A. Wang, “A Generalization of Placing Identical Items into Identical Bins”, Pittsburgh Interdiscip. Math. Rev., vol. 2, pp. 71–88, Dec. 2024.

Issue

Section

Undergraduate Research Articles