Math Flashcards
what is the sum of all consecutive numbers from 1 to n?
n(n+1)/2
what is the sum of all consecutive numbers from 0 to n-1?
n(n-1)/2
define combination
a counting technique for number of ways to pick certain items from a set to expand into a larger set where ordering of the items per item in the larger set matters.
define permutation
a counting technique for number of ways to pick certain items from a set to expand into a larger set where ordering of the items per item in the larger set matters.
a good way to remember is that a “combination lock” is a MISNOMER. it should be a permutation lock because order matters!
combination formula without repetition
nCr = n!/(r!(n-r)!)
e.g. a lottery ticket!
permutation formula without repetitions
n! / (n-k)!
just multiply the number of choices at each instance
permutation formula with repetitions
n^k
just the number of spaces available is k
combination formula WITH repetition
i don’t think there’s a general formula
see here: https://www.mathsisfun.com/combinatorics/combinations-permutations.html
e.g. coins in your pocket (5,5,5,10,10,10)