FIRST MIDTERM MATH 104B, UCSD, WINTER 18

Similar documents
Number-Theoretic Function

Do not open this exam until you are told to begin. You will have 75 minutes for the exam.

a = mq + r where 0 r m 1.

Summary Slides for MATH 342 June 25, 2018

Section 11.1 Sequences

Part II. Number Theory. Year

Any real-valued function on the integers f:n R (or complex-valued function f:n C) is called an arithmetic function.

Solutions to Problem Set 3 - Fall 2008 Due Tuesday, Sep. 30 at 1:00

Smol Results on the Möbius Function

Math 314 Course Notes: Brief description

Math 324, Fall 2011 Assignment 6 Solutions

Elementary Properties of Cyclotomic Polynomials

LECTURE 4: CHINESE REMAINDER THEOREM AND MULTIPLICATIVE FUNCTIONS

Basic Algebra. Mathletics Instant Workbooks. 7(4x - y) = Copyright

18.785: Analytic Number Theory, MIT, spring 2006 (K.S. Kedlaya) Dirichlet series and arithmetic functions

f(n) = f(p e 1 1 )...f(p e k k ).

1) [3pts] 2. Simplify the expression. Give your answer as a reduced fraction. No credit for decimal answers. ( ) 2) [4pts] ( 3 2 ) 1

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 1

Solutions Manual for Homework Sets Math 401. Dr Vignon S. Oussa

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

PMT. GCE Edexcel GCE Mathematics Core Mathematics C1 (6663) June Mark Scheme (Results) Mathematics. Edexcel GCE

Clifton High School Mathematics Summer Workbook

THE FOURIER TRANSFORM OF FUNCTIONS OF THE GREATEST COMMON DIVISOR. Wolfgang Schramm Schulgasse 62 / 11, A-1180 Vienna, AUSTRIA

PRACTICE FINAL MATH , MIT, SPRING 13. You have three hours. This test is closed book, closed notes, no calculators.

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

Möbius Inversion Formula and Applications to Cyclotomic Polynomials

MODEL ANSWERS TO THE SEVENTH HOMEWORK. (b) We proved in homework six, question 2 (c) that. But we also proved homework six, question 2 (a) that

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

CBSE 2018 ANNUAL EXAMINATION DELHI

STARTING WITH CONFIDENCE

MATH 52 MIDTERM 1. April 23, 2004

Lynch 2017 Page 1 of 5. Math 150, Fall 2017 Exam 1 Form A Multiple Choice

Math 110 HW 3 solutions

MATH 152 Problem set 6 solutions

ϕ : Z F : ϕ(t) = t 1 =

HKUST. MATH1013 Calculus IB. Directions:

Math 116 Practice for Exam 3

June Core Mathematics C1 Mark Scheme

All numbered readings are from Beck and Geoghegan s The art of proof.

Without fully opening the exam, check that you have pages 1 through 10.

Spring 2017 Midterm 1 04/26/2017

11. Factorise completely. 12. Express. 13. Factorise 12x. 14. Factorise 6ac bd 2ad + 3bc. 15. Make p the subject of the equation x =.

The equation 8(9x + 7) 7(6x 5) = 1 has the solution x = k, where k is a positive integer. Pass on the value of k.

Module 2, Section 2 Solving Equations

Lecture 4: Number theory

FINAL EXAM Math 25 Temple-F06

Math Contest, Fall 2017 BC EXAM , z =

Problems and Solutions

Math 13, Spring 2013, Lecture B: Midterm

Mathematics Benchmark Achievements Senior Math

Math 3000 Section 003 Intro to Abstract Math Homework 6

AS Mathematics MPC1. Unit: Pure Core 1. Mark scheme. June Version: 1.0 Final

CCSU Regional Math Competition, 2012 Part I

MTH 310, Section 001 Abstract Algebra I and Number Theory. Sample Midterm 1

Math 319 Problem Set #2 Solution 14 February 2002

PhysicsAndMathsTutor.com. GCE Edexcel GCE. Core Mathematics C2 (6664) January Mark Scheme (Results) Core Mathematics C2 (6664) Edexcel GCE

FINAL EXAM MATH 220A, UCSD, AUTUMN 14. You have three hours.

Trifectas in geometric progression

Selberg s proof of the prime number theorem

Basic Fraction and Integer Operations (No calculators please!)

I(n) = ( ) f g(n) = d n

Edexcel AS and A Level Mathematics Year 1/AS - Pure Mathematics

2013 ΜΑΘ National Convention

Last/Family Name First/Given Name Seat # Exam # Failure to follow the instructions below will constitute a breach of the Honor Code:

Quiz 1, Mon CS 2050, Intro Discrete Math for Computer Science

Solutions to Problem Set 4 - Fall 2008 Due Tuesday, Oct. 7 at 1:00

Chapter 1. Introduction to prime number theory. 1.1 The Prime Number Theorem

The Chinese Remainder Theorem

Theory of Numbers Problems

Name: ID: Rec: Question: Total. Points:

PROBABILITY VITTORIA SILVESTRI

CHAPTER 1 REAL NUMBERS KEY POINTS

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

Number Theory. Final Exam from Spring Solutions

MA 524 Final Fall 2015 Solutions

Rectangles as Sums of Squares.

Name Date Period. Pre-Calculus Midterm Review Packet (Chapters 1, 2, 3)

Hints/Solutions for Homework 3

OML Sample Problems Meet 4 EVENT 5: Algebra I Linear Inequalities

MathSciNet infinitude of prime

Maths Scheme of Work. Class: Year 10. Term: autumn 1: 32 lessons (24 hours) Number of lessons

The Euler Phi Function

Core Mathematics C3 Advanced Subsidiary

Sieve weight smoothings and moments

MATH 100, Section 110 Midterm 2 November 4, 2014 Page 1 of 7

Thank you for your participation Good Luck!

Mark Scheme (Results) June Pearson Edexcel International GCSE Mathematics A (4MA0) Paper 4H

Mark Scheme (Results) Summer 2009

CS 246 Review of Proof Techniques and Probability 01/14/19

Ch. 7.6 Squares, Squaring & Parabolas

New Rochelle High School Geometry Summer Assignment

arxiv: v1 [math.nt] 2 May 2011

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

2 More on Congruences

Math 1426 Midterm 2 Version A Spring 2011

PAPER 1H GCSE/A1H GCSE MATHEMATICS. Practice Set A Non-Calculator Time allowed: 1 hour 30 minutes

Chapter 8. Infinite Series

Maths A Level Summer Assignment & Transition Work

Math 430 Exam 2, Fall 2008

Solving Linear Equations

Transcription:

FIRST MIDTERM MATH 104B, UCSD, WINTER 18 You have 80 minutes. There are 4 problems, and the total number of points is 70. Show all your work. Please make your work as clear and easy to follow as possible. Name: Signature: Student ID #: Problem Points Score 1 15 2 15 3 30 4 10 5 10 6 10 Total 70 1

1. (15pts) (i) Give the definition of π(). The number of primes up to. (ii) Give the definition of the Möbius function. The function µ: N N defined by the rule { ( 1) ν if n is the product of ν distinct primes µ(n) = 0 otherwise. (iii) Give the definition of the fractional part. If is real number and is the largest integer less than then the fractional part is {} = 1

2. (15pts) Let, 1 and 2 be real numbers and let n be an integer. Prove that (i) +n = +n. As it follows that + n + n. As + n + n it follows that + n n. As the LHS is an integer it follows that + n n. Adding n to both sides we get + n +n. As we have an inequality both ways we must have an equality +n = +n.. (ii) 1 + 2 1 + 2. Since i i for i = 1,2 we have 1 + 2 1 + 2. As the LHS is an integer it follows that 1 + 2 1 + 2. (iii) Assuming that n is a natural number, prove that = n n. As But then n n as the LHS is an integer. On the other hand, as so that n n it follows that so that n n. n n, it follows that n. n and so n n n n. As we have an inequality both ways, we have equality. 2

3. (30pts) Let f: N C be a function and define F: N C by the rule F(n) = f(d). d n (i) Show that if f is multiplicative then F is multiplicative. Suppose that m and n are coprime. Note that if d divides mn then d = d 1 d 2 where d 1 divides m and d 2 divides n. We have F(mn) = d mnf(d) = d 1 m,d 2 n f(d 1 d 2 ) = d 1 m d2 nf(d 1 )f(d 2 ) = d 1 m f(d 1 ) d 2 nf(d 2 ) Thus F is multiplicative. = F(m)F(n). 3

(ii) If the function M: N Z is defined by M(n) = d n µ(d) then show that M(n) = { 1 if n = 1 0 otherwise. Consider M(n) = d n µ(d). As µ(n) is multiplicative both sides are multiplicative. If n = p e is a power of a prime then M(p e ) = µ(1)+µ(p)+µ(p 2 )+ = 1 1+0+ +0 = 0. Thus M(n) = 0 unless n = 1 in which case M(1) = 1. (iii) Show that f(n) = d n µ(d)f( n d ). We have µ(d)f( n d ) = µ(d 1 )F(d 2 ) d n d 1 d 2 =n = µ(d 1 ) f(d) d d 2 d 1 d 2 =n = d 1 d nµ(d 1 )f(d) = d n = d n f(d) µ(d 1 ) d 1 n/d f(d)m(n/d) = f(n). 4

4. (10pts) Show that π(n) logn 2log2. Let r = π(n) and let p 1,p 2,...,p r be the first r primes, so that p 1,p 2,...,p r are the primes up to n. Note that we may form 2 r distinct square-freenaturalnumbersmwhichareonlydivisiblebyp 1,p 2,...,p r. For each prime p i we either choose m coprime to p i or divisible by p i. On other hand there are at most n perfect squares up n. Now any natural number l is the product of a perfect square and a square-free number m. If l n then m n and so m is divisible by p 1,p 2,...,p r. Thus there are at most 2 r n numbers up to n. On the other hand there are n natural numbers up to n. Thus 2 π(n) n n so that 2 π(n) n. Taking logs we see that π(n)log2 = log2 π(n) log n = 1 2 logn. Thus π(n) logn 2log2. 5

5. Show that 1 = +O(). p i p j p p i p j,p i <p i p j j i<j=1 Note that where i,j=1:p i <p j p i p j = E p p i p j,p i <p i p j j p i p j,p i <p j p i p j,p i <p j 1. p i p j E, The term on the RHS is the number of ways to pick two primes p i, p j such that p i < p j and p i p j. Let y = p i p j. Then y determines p i and p j by unique factorisation and y is a natural number between 1 and so that y. Thus E is at most and so E = O(1). 6

Bonus Challenge Problems 6. (10pts) Show that there is a constant γ such that n ( ) 1 1 = logn+γ +O. k n Let Note that k=1 α k = logk log(k 1) 1 k Note also that k k 1 1 γ n = and γ n = n α k. k=2 1 d = [log]k k 1 = logk log(k 1) n k=1 1 k logn. is the area under the curve y = 1/ over the interval k 1 k. On the other hand 1/k is the area over the interval k 1 k inside the largest rectangle inscribed between the -ais and the curve y = 1/. It follows that α k is the difference between these two areas, so that α k is positive. Note that if we drop these areas down to the region between = 0 and = 1 then all of these areas fit into the unit square bounded by y = 0 and y = 1. Thus 0 < 1 γ n < 1 is bounded and monotonic increasing. It follows that 1 γ n tends to a limit. Define γ by the formula: lim (1 γ n) = 1 γ. n Finally note that the difference γ n γ = (1 γ) (1 γ n ) = k=n+1 is represented by an area which fits inside a bo with one side 1 and the other side 1/n, so that it is less than 1/n. Thus ( ) 1 γ n γ = O. n α k 7

7. (10pts) Show that ( π() = O ). The number of integers up to not divisible by the first r primes p 1,p 2,...,p r is r A(,r) = + + +( 1) r. p i p i p j p 1 p 2...p r i=1 i j r by inclusion-eclusion. If we approimate this by ignoring the round downs the error is at most ( ) ( ) ( ) r r r 1+ + + + = 2 r, 1 2 r and so π() r+ r ) (1 1pi +2 r. i=1 Now 1 1 1 = (1+ 1p + 1p ) +.... p p 2 p If we epand the RHS we get the sum of the reciprocals of all numbers divisible by p 1,p 2,...,p r, which is at least 1 k > logn. k n Thus π() r+ log +2r. If we take r = log then π() 2 log+2 + take r = log = O ( 2 log) + ( ) o + ( ) = O. as log2 < 1 8