COMBINA function

COMBINA(numberOfItems, numberChosen) COMBINA(numberOfItems; numberChosen)

numberOfItems — Number or { Number }

The number of items.

numberChosen — Number or { Number }

The number of items in each combination.

Returns — Number or { Number }

The number of combinations with repetitions.

Returns the number of combinations with repetitions for a certain number of items.

Examples

COMBINA(4, 2)COMBINA(4; 2)

Returns 10.

COMBINA(4, 4)COMBINA(4; 4)

Returns 35.

COMBINA(8, 2)COMBINA(8; 2)

Returns 36.

COMBINA(8, 4)COMBINA(8; 4)

Returns 330.

COMBINA(8, { 2, 4 })COMBINA(8; { 2; 4 })

Returns the array { 36, 330 }{ 36; 330 }.

COMBINA({ 4, 8 }, { 2, 4 })COMBINA({ 4; 8 }; { 2; 4 })

Returns the array { 10, 330 }{ 10; 330 }.