



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Instructions: Do the following problems and indicate your answer by circling it/them. If I cannot clearly read and understand your responses, they will be marked wrong. Unless otherwise indicated by a (Circle all that apply.), only circle a single answer. In order to get a problem correct, it must be entirely correct. No partial credit will be given for multiple choice problems. For the short answer questions, you will be given partial credit as outlined in the syllabus. IMPORTANT: You may not consult with any other human being (other than the professor) in any way (including but not limited to electronic means such as the internet) for the purposes of completing this exam. If I find sufficient evidence that two or more people have collaborated on this exam (including but not limited to answers that are inexplicably similar), ALL PARTIES WILL RECEIVE AN AUTOMATIC FAILING GRADE FOR THE COURSE INDEPENDENT OF WHO DOES THE WORK. It is your responsibility to make sure that someone else does not cheat off of your exam. The professor reserves the right at his discretion to ask students to explain or repeat the reasoning for any question and deal appropriately with an obvious lack of knowledge.
(a) 10 (b) 11 (c) 12 (d) 13 (e) NONE OF THE ABOVE
λ ∈ S, s ∈ S → 0 s 0 ∈ S, s ∈ S → 1 s 1 ∈ S
(a) The set of all palindromic binary strings. (b) The set of all even length palindromic binary strings. (c) The set of all odd length palindromic binary strings. (d) The set of all binary strings. (e) NONE OF THE ABOVE
(a) an = 1 − (−1)n (b) an = 1 + (−1)n (c) an = 2n (d) an = n + 2 (e) NONE OF THE ABOVE
(a) f (x, 0) = x! (b) f (x, 0) = 2x (c) f (x, 0) = 2x (d) f (x, 0) = blog xc (e) NONE OF THE ABOVE
(a) 0 (b) max{x, y} − min{x, y} (c) lcm(a, b) (d) blogb ac (e) NONE OF THE ABOVE
1 +
n^2
n whenever n is a positive integer greater than 1.
For the remaining parts of this proof, we will use strong induction. Assume that the assertion is true for all numbers k < n.
x = ann! + an− 1 (n − 1)! +... + a 2 2! + a 1 1!
where ai must be an integer such that 0 ≤ ai ≤ i for i = 1, 2 ,... , n. It is possible to find a Cantor expansion for any positive integer x. Prove that the Cantor expansion is “unique” in the following sense: Let f be the function that takes the digits of a Cantor expansion anan− 1... a 2 a 1 where 0 ≤ ai ≤ i for i = 1, 2 ,... , n to its corresponding positive integer x. Prove that the function f is one-to-one.