Count ordered permutations and unordered combinations from n items choosing r.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Permutations use n! ÷ (n−r)!, while combinations divide that result by r! to ignore order. Inputs must be integers with 0 ≤ r ≤ n and fit bounded factorial arithmetic.
49, 6
n = 49, r = 6 P(49, 6) = 10068347520 C(49, 6) = 13983816
Committee counts use combinations, password exercises use ordered selections, and card lessons contrast the two counts.