countpartitions

Calculates the total number of partitions of a number n. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Integer n

Output

Number of partitions

Examples

countpartitions