groupsOf

fun groupsOf(units: Int, perGroup: Int): List<Int>

The groups of units a statement or call each: groups of at most perGroup, in order.