The number of partitions of n with k or fewer addends, or equivalently, into partitions with no element greater than k. This function is denoted q(n, k) or q_k(n). (Note that if "k or fewer" is changed to "exactly k" and "no element greater than k" to "greatest element equal to k, " then the partition function P of two arguments is obtained.) The q(n, k) such partitions can be enumerated in the Wolfram Language using IntegerPartitions[n, k].