Number of equal sized partitions

n_partitions(N, K)

Arguments

N

How many elements

K

How many partitions

Value

The number of partitions

Examples

n_partitions(20, 2)
#> [1] 92378