Question text is in black, solutions in blue
Q1: 15 points Q2: 25 points Q3: 20 points Q4: 20 points Q5: 20 points Total: 100 points
A tautology is a statement that is always true, no matter what truth values its component propositions take.
A free variable is one whose value must be provided to define the meaning of a statement, as opposed to a bound variable that is governed by a quantifier.
A number x is a multiple of y if it equals ky for some integer k.
The base case of an induction proof is where we prove that P(1) is true, where P(n) is the statement we are trying to prove for all n.
A number is rational if it can be written as p/q, where p is any integer and q is any nonzero integer.
B(d) → (¬B(c) ∧ A(m, 5))
There are two numbers y and z such that Cardie is age y, Mia is age z, and y is greater than z. Equivalently, Cardie is older than Mia.
∀x:∃y: A(d, y) ∧ y < 15
If every dog is barking, then there is no dog that is not barking.
∃w:∃x:∃y:∃z: A(w, x) ∧ A(c, y) ∧ A(m, z) ∧ (x < y) ∧ (x > z)
not (p or q) or (not q --> p) or (p --> r)
1 0 0 0 1 1 0 0 0 1 0 1 0
1 0 0 0 1 1 0 0 0 1 0 1 1
0 0 1 1 1 0 1 1 0 1 0 1 0
0 0 1 1 1 0 1 1 0 1 0 1 1
0 1 1 0 1 1 0 1 1 1 1 0 0
0 1 1 0 1 1 0 1 1 1 1 1 1
0 1 1 1 1 0 1 1 1 1 1 0 0
0 1 1 1 1 0 1 1 1 1 1 1 1
Let n be (2k)2 since it is the square of an even number. So n = 1 = 4k2 - 1, which factors as (2k + 1) times (2k - 1). We may take k to be a positive number, since 2k and -2k have the same square. But k cannot be 1, since otherwise n would be 4, and we are told that n > 10. Since k > 1, we know that 2k + 1 > 3 and 2k - 1 > 1. In particular, both the factors of n - 1 are greater than one, so by definition n - 1 is not a prime number.
For the base case, we observe that 71 - 1 = 6, which is
divisible by 6.
For the inductive case, we assume that 7n-1 - 1 is divisible
by 6, and prove that 7n - 1 is divisible by 6. There are at
least two ways to do this.
The first is to note that 7n - 1 = (7n-1 - 1) +
(7n - 7n-1). The second term factors as
7n-1(7 - 1), which is divisible by 6. The sum of two numbers,
each divisible by 6, must be divisibe by 6.
The second way is to note that if 7n-1 - 1 is divisible by 6, it
remains divisible by 6 if we multiply it by 7 to get 7n - 7.
It then again remains divisible by 6 if we add 6 to it to get
7n - 1.
Last modified 6 October 2016/small>