math 401 test 1 Flashcards
an m-by-n board has a perfect cover by b-ominos if and only if
b is a factor of m or n
the magic number for magic squares
s = [n(n^2 + 1)] / 2
each row, column, and the two diagonals add to this
how to find the magic square when n is odd
- place a 1 in the middle square of the top row
- place successive integers in natural order along upward-right sloping diagonal line
- when top is reached, but in bottom row as if it came immediately above the top row
- if box is already filled, put immediately below the last square filled
any map can be colored by using ? colors such that two countries sharing a common boundary receive different colors
4
latin square of order n
n-by-n array of numbers 1 to n such that each 1 to n occurs once in each row and column
orthogonal latin squares
all possible n^2 pairs (i, j) with i = 1, 2, … , n and j = 1, 2, … , n; occur when two latin squares are juxtaposed
euler says orthogonal works if n is ?; n = ?
odd; n = 4s
the game of nim: when will player 1 win? player 2?
player 1 will win an unbalanced game
player 2 will win a balanced game
if the game of nim is unbalanced, what should player 2’s first move be?
balance the game
how to tell if a game of nim is balanced
write out the numbers’ binary representations and add down the columns. if all numbers are equal then it is balanced
addition principle
the number of objects in a set S can be determined by finding the number of objects in each of the parts and adding the numbers
multiplication principle
let S be a set of ordered pairs (a, b) of objects, where the first object comes from a set of size p, and for each choice of a there are q choices for object b. Then |S| = pq
subtraction principle
|A| = |U| - |A complement|
division principle
let S be a finite set that is partitioned into k parts in such a way that each part contains m objects. then k = |S| / m
inclusion exclusion
good - bad
permutations of sets
an ordered arrangement of r elements without repetition; P(n, r) = n! / (n-r)!
circular r-permutation of a set of elements
an ordered arrangement of r elements around a circle of r positions without repetition; P(n, r) / r = n! / r(n-r)!