FANDOM



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

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

LocationEdit

  • MATH
  • PRB
  • 3:nCr

ExampleEdit

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

This determines how many hands are possible, counting 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.