Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

k-regular Partitions

I'm looking for a code, to calculate the number of k-regular Partitions, of a positiv integer n. A k-regular Partition is a Partition, in which no summand is a multiple of k.

Hopefully someone has an idea! I am using the online Version of SageMath.