partitions: Additive Partitions of Integers

Additive partitions of integers. Enumerates the partitions, unequal partitions, and restricted partitions of an integer; the three corresponding partition functions are also given. Set partitions and now compositions and riffle shuffles are included.

Package details

AuthorRobin K. S. Hankin [aut, cre] (ORCID: <https://orcid.org/0000-0001-5982-0415>), Paul Egeler [ctb] (ORCID: <https://orcid.org/0000-0001-6948-9498>)
MaintainerRobin K. S. Hankin <hankin.robin@gmail.com>
LicenseGPL
Version1.11-1
URL https://github.com/RobinHankin/partitions
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("partitions")

Try the partitions package in your browser

Any scripts or data that you put into this service are public.

partitions documentation built on Sept. 23, 2026, 5:06 p.m.