Calculator Guide

Sets and combinatorics

Set functions operate on comma-separated argument lists. Combinatorics uses infix operators.

Functions and operators

  • Maximummax(10m, 30k, 7.7m, 123123121234)
  • Minimummin(10m, 30k, 7.7m, 123123121234)
  • Least common multiplelcm(12, 15, 18, 25)
  • Greatest common divisorgcd(12, 15, 18, 25)
  • Permutation10 perm 3
  • Combination10 comb 3
max(10m, 30k, 7.7m, 123123121234)
min(10m, 30k, 7.7m, 123123121234)
lcm(12, 15, 18, 25)
gcd(12, 15, 18, 25)
10 perm 3
10 comb 3

Choosing perm or comb

Use comb when order does not matter.

10 comb 3

Use perm when the selected positions are distinct.

10 perm 3

Units

max and min can compare compatible units.

min(12 meters, 20 kms, 12 miles)

Common mistakes

  • max 1, 2 is invalid — max, min, lcm, and gcd are functions, so their arguments must be inside parentheses.
  • perm and comb work on non-negative integers where n >= r >= 0.