Permutations, combinations, sampling with repetition, factorials, derangements and Catalan numbers, exact to the last digit
Both n and k are non-negative integers. When k is larger than n only the ordered and unordered selection rows have no answer and show —; factorials, derangements and the rest still compute. n is capped at 2000, Stirling and Bell numbers at 200.
Everything is exact BigInt arithmetic, no floating point. Values longer than 24 digits switch to scientific notation in the table, while the copy button always yields the full number. The math never leaves the browser.