FANDOM



(84) :itemsTotal nPr itemsInSet
(89) :nPr(itemsTotal, itemsInSet)

This returns the number of permutations possible when there are N items to choose from, and R places to put them in.

LocationEdit

  • MATH
  • PRB
  • 2:nPr

ExampleEdit

:Input "CARDS IN HAND?",H
:52 nPr H→P
:Disp "THERE ARE",P,"POSSIBLE HANDS"

This determines how many hands are possible, disregarding order, given a hand size of H and a 52 card deck.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.