Documentation/How Tos/Calc: PERMUTATIONA function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 08:41, 17 July 2018 by Sancho (Talk | contribs)

Jump to: navigation, search


PERMUTATIONA

Returns the number of ordered permutations, allowing repetition.

Syntax:

PERMUTATIONA(n; k)

where n and k are integers.
PERMUTATIONA returns the number of ordered ways that k objects can be chosen from a set of n objects, where an object can be chosen repeatedly. For example with a set of 3 objects A, B, C, we can choose 2 as follows: AA, AB, AC, BA, BB, BC, CA, CB, CC.
PERMUTATIONA simply calculates nk.

Example:

PERMUTATIONA(3; 2)

returns 9, as in the example above.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_PERMUTATIONA_function&oldid=243500"
Views
Personal tools
Navigation
Tools