Twin primes are pairs of natural numbers (p, p + 2) such that both p and p + 2 are primes.

Similar documents
Solutions to Practice Final

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

MATH 2200 Final LC Review

MATH10040: Numbers and Functions Homework 1: Solutions

Midterm 1. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

Discrete Math I Exam II (2/9/12) Page 1

CSE 20. Final Review. CSE 20: Final Review

Math 109 HW 9 Solutions

Sample Question Paper Mathematics First Term (SA - I) Class X. Time: 3 to 3 ½ hours

SUMMER MATH PACKET. Geometry A COURSE 227

Solutions to Assignment 1

MATH 271 Summer 2016 Practice problem solutions Week 1

7.2 Applications of Euler s and Fermat s Theorem.

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

Quiz 1 Date: Monday, October 17, 2016

University of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics

MATH 115, SUMMER 2012 LECTURE 12

Proof by Contradiction

Use the Rational Zero Theorem to list all the possible rational zeros of the following polynomials. (1-2) 4 3 2

Preparing for the CS 173 (A) Fall 2018 Midterm 1

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

Midterm 2 Sample Introduction to Higher Math Fall 2018 Instructor: Linh Truong

Math 175 MT#1 Additional Material Study Sheet

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

Cool Results on Primes

MATH 2200 Final Review

NAME DATE PERIOD. A negative exponent is the result of repeated division. Extending the pattern below shows that 4 1 = 1 4 or 1. Example: 6 4 = 1 6 4

What can you prove by induction?

MATH 137 : Calculus 1 for Honours Mathematics. Online Assignment #2. Introduction to Sequences

Graphing Radicals Business 7

Proof worksheet solutions

CCSU Regional Math Competition, 2012 Part I

Midterm 3 Review. Terms. Formulas and Rules to Use. Math 1010, Fall 2011 Instructor: Marina Gresham. Odd Root ( n x where n is odd) Exponent

Checkpoint Questions Due Monday, October 1 at 2:15 PM Remaining Questions Due Friday, October 5 at 2:15 PM

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

Math 3000 Section 003 Intro to Abstract Math Homework 6

Name: Mathematics 1C03

MATHEMATICAL INDUCTION

Modular Arithmetic Instructor: Marizza Bailey Name:

A Level. A Level Mathematics. Proof by Contradiction (Answers) AQA, Edexcel, OCR. Name: Total Marks:

Notes on Systems of Linear Congruences

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Intermediate Algebra

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

CMSC Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005

Instructor Notes for Chapters 3 & 4

Department of Mathematics, University of Wisconsin-Madison Math 114 Worksheet Sections (4.1),

Clock Arithmetic. 1. If it is 9 o clock and you get out of school in 4 hours, when do you get out of school?

History of Mathematics

New Question paper added for class 9 Maths sa-2 for March 2016 SUMMATIVE ASSESSMENT II,( ) ( ) MATHEMATICS. Class IX JSUNIL TUTORIAL

Check boxes of Edited Copy of Sp Topics (was 217-pilot)

Fall 2014 CMSC250/250H Midterm II

Wilson s Theorem and Fermat s Little Theorem

Proof Techniques 1. Math Camp n = (1 = n) + (2 + (n 1)) ( n 1. = (n + 1) + (n + 1) (n + 1) + n + 1.

Math 261 Spring 2014 Final Exam May 5, 2014

Mathematics E-15 Seminar on Limits Suggested Lesson Topics

Problem Set 5 Solutions

201-1A5-MT - Mathematics Summer 2015 HOMEWORK 2 Deadline : Sunday, August 30, 2015 at 12 :30.

HOMEWORK #2 - MATH 3260

MATH 1130 Exam 1 Review Sheet

SOLUTIONS. Math 130 Midterm Spring True-False: Circle T if the statement is always true. Otherwise circle F.

Day 6: 6.4 Solving Polynomial Equations Warm Up: Factor. 1. x 2-2x x 2-9x x 2 + 6x + 5

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

Unit 1 Maths Methods (CAS) Exam 2014 Thursday June pm

Mathematics 222a Quiz 2 CODE 111 November 21, 2002

REVIEW PROBLEMS FOR SECOND 3200 MIDTERM

Chapter 3: Factors, Roots, and Powers

Summer Math Packet for Students Entering 6th Grade. Please have your student complete this packet and return it to school on Tuesday, September 4.

x 2e e 3x 1. Find the equation of the line that passes through the two points 3,7 and 5, 2 slope-intercept form. . Write your final answer in

Welcome to MAT 137! Course website:

2. In an AP. if the common difference (d) = -4, and the seventh term (a7) is 4, then find the first term.

Fall 2017 Test II review problems

Intermediate Math Circles November 8, 2017 Probability II

Class IX Chapter 1 Number Sustems Maths

More Polynomial Equations Section 6.4

SUMMER MATH PACKET ADVANCED ALGEBRA A COURSE 215

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

Westside. Algebra 2 PreAP

Extending the Number System

Mathematics 228(Q1), Assignment 2 Solutions

Which one of the following is the solution to the equation? 1) 4(x - 2) + 6 = 2x ) A) x = 5 B) x = -6 C) x = -5 D) x = 6

1Number ONLINE PAGE PROOFS. systems: real and complex. 1.1 Kick off with CAS

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Westside Algebra 2 PreAP

Proofs: A General How To II. Rules of Inference. Rules of Inference Modus Ponens. Rules of Inference Addition. Rules of Inference Conjunction

Mini Lecture 1.1 Introduction to Algebra: Variables and Mathematical Models

Solutions to Practice Final 3

UNIT NUMBER PROBABILITY 6 (Statistics for the binomial distribution) A.J.Hobson

What students need to know for... Functions, Statistics & Trigonometry (FST)

PreCalculus. American Heritage Upper School Summer Math Packet

Unit 5 Evaluation. Multiple-Choice. Evaluation 05 Second Year Algebra 1 (MTHH ) Name I.D. Number

MAS114: Exercises. October 26, 2018

1 Numbers. exponential functions, such as x 7! a x ; where a; x 2 R; trigonometric functions, such as x 7! sin x; where x 2 R; ffiffi x ; where x 0:

Winter Camp 2009 Number Theory Tips and Tricks

Be sure this exam has 9 pages including the cover. The University of British Columbia

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM

BmMT 2017 Individual Round Solutions November 19, 2017

Transcription:

SOLUTIONS TO QUIZ - MATH 170 - SUMMER SESSION I (2012) Name: INSTRUCTIONS: 1. The duration of this quiz is 1 hour - from 4:05 p.m. till 5:05 p.m. 2. No calculators, electronic watches, cellphones etc. will be allowed in this quiz. 3. This is a closed book quiz, meaning that, looking at notes or computers or taking the help of cheat sheets is not permitted. 4. As per Penn s Academic Integrity, any form of cheating is strongly discouraged and shall not be tolerated. 5. There are seven pages in this quiz. Make sure your copy has all of them.. There are six questions in this quiz. All the questions are compulsory. 7. Show all your work, and right down your reasoning as clearly as possible. State any known theorems or results that you use while working out a problem. 8. If you have any question about any of the problems, please ask your instructor and not any other student. (1) Write the definitions of the following terms: (a) Twin primes Twin primes are pairs of natural numbers (p, p + 2) such that both p and p + 2 are primes. (b) Rational number A rational number is a number that can be expressed as a fraction p q where both p and q are integers and q 0. (c) Fibonacci sequence It is a sequence of numbers a n that satisfies the condition a n+2 = a n + a n+1, where a 1 = 1, a 2 = 1. Therefore, the first couple of terms of the sequence are 1, 1, 2, 3, 5, 8, 13, 21, 34 etc. Date: June 7, 2012. 1

2 SOLUTIONS TO QUIZ - MATH 170 - SUMMER SESSION I (2012) (d) Intersection of two sets For two sets A and B, their intersection is defined as the set whose elements are those that are elements of both A and B. A B = {x : x is in A and x is in B}. (2) Write the statement of the Prime Factorization Theorem. The Prime Factorization Theorem states that every natural number n > 1 can be expressed as a product of prime numbers, with the number of prime factors and the prime factors themselves being unique up to the order in which they appear in the product. Based on that, write the following numbers completely as a product of their prime factors. (a) 12 = 2 3 2 7. (b) 3125 = 5 5. (c) 352 = 2 5 11. (3) Do any ONE of the following two parts (do not do both): (a) If a, b and c are three integers such that b is divisible by a and c is divisible by b, then show that c is divisible by a. If b is divisible by a, then there is an integer k for which b = k a. If c is divisible by b, then there is an integer m for which c = m b. Thus, c = m b = m k a. So, c is divisible by a. (b) Show that 24 55 5 2 2 2 mod 19. State clearly if you use any theorem. Since 19 is prime and doesn t divide 24, by Fermat s little theorem, 24 19 1 1 mod 19. So, 24 18 1 mod 19. Taking cubes, 24 54 1 mod 19. So, 24 55 24 mod 19. But, 24 gives a remainder of 5 when divided by 19. Then, 24 55 mod 19 = 5. Next, 5 2 2 2 mod 19 = 100 mod 19 = (95 + 5) mod 19 = (19 5 + 5) mod 19 = 5. Therefore, 24 55 5 2 2 2 mod 19.

SOLUTIONS TO QUIZ - MATH 170 - SUMMER SESSION I (2012) 3 (4) Suppose someone asked you to toss a coin three times, and then asked you what the probability of getting at least one tail is. (a) Write down the universal set in this case. Ω = {(H, H, H), (H, H, T ), (H, T, H), (H, T, T ), (T, H, H), (T, H, T ), (T, T, H), (T, T, T )}. (b) Describe the event in English and use set notation to write down all its elements. E = the event of getting at least one tail = {(H, H, T ), (H, T, H), (H, T, T ), (T, H, H), (T, H, T ), (T, T, H), (T, T, T )}. (c) Now, find out the probability of occurrence of that event. P (E) = n(e) n(ω) = 7 8. (5) Let A and B be two sets contained in a universal set U. Draw Venn diagrams and shade regions that represent: (a) (A B) c (A B) A B U

4 SOLUTIONS TO QUIZ - MATH 170 - SUMMER SESSION I (2012) (b) (A B) (A B) A B U () Do any ONE of the following two parts (do not do both): (a) Show, by method of contradiction, that 3 is an irrational number. Using this fact (and perhaps, also method of contradiction), show that 3 + 1 3 is also irrational. For the first part, suppose 3 is rational. Then, we may write, 3 as a fraction p q, where p and q are integers having no common factors and q 0. So, squaring both sides, 3 = p2 q 2, 3q 2 = p 2, which means 3 divides p 2. Since 3 is a prime, this implies that 3 divides p. So we may write p = 3 k. Plugging this back in to the above equation, we get, q 2 = 3k 2. 3q 2 = (3k) 2 = 9k 2, Therefore, 3 divides q 2. As before, this means that 3 divides q. Therefore 3 divides both p and q which contradicts the fact that p and q have no common factors. So, 3 is irrational. Next, assume that 3 + 1 3 is a rational number. Then we can write it as

SOLUTIONS TO QUIZ - MATH 170 - SUMMER SESSION I (2012) 5 a fraction m n, where m and n are integers with no common factors and n 0. So, 3 + 1 3 = m n. Multiplying throughout by 3 we get, 1 3m 3 3 + 3 3 = n, 3m = 3 + 1 = n, = 3 = 4n m, which is a contradiction as 3 is irrational. Hence, 3 + 1 3 is also irrational. (b) Show, using induction, that 1 2 + 2 2 + 3 2 +... + n 2 = n(n+1)(2n+1). Step 1: We wish to check that the statement is true for n = 1. Here, the left hand side is 1 2 = 1 and the right hand side is 1(1+1)(2(1)+1) = 1 2 3 = 1. Hence, the statement is indeed true for n = 1. Step 2: We assume that the statement is true for n = m. That is, we assume, 1 2 + 2 2 + 3 2 +... + m 2 = m(m + 1)(2m + 1). Step 3: We need to prove the statement for n = m + 1. That is, we need to prove that, 1 2 + 2 2 + 3 2 +... + (m + 1) 2 = = (m + 1)(m + 1 + 1)(2(m + 1) + 1) (m + 1)(m + 3)(2m + 3).

SOLUTIONS TO QUIZ - MATH 170 - SUMMER SESSION I (2012) Now, 1 2 + 2 2 + 3 2 +... + (m + 1) 2 = 1 2 + 2 2 + 3 2 +... + m 2 + (m + 1) 2 m(m + 1)(2m + 1) = + (m + 1) 2 [ ] m(2m + 1) + (m + 1) [ 2m 2 + m + m + ] [ 2m 2 ] + m + m + [ 2m 2 ] + 7m + [ ] (m + 2)(2m + 3) (m + 1)(m + 2)(2m + 3) =, which proves our statement for step 3. Hence, by induction, 1 2 + 2 2 + 3 2 +... + n 2 = n(n+1)(2n+1), for all natural numbers n.