Exercises 21.5 Exercises
ΒΆ1.
Consider Wilson's Theorem and consider what will happen to (jβ2)! modulo primes and composites (this is Exercise 7.7.8). Use this to prove the bizarre formula in Section 21.1.
2.
Calculate Ο(n,a) (recall Definition 21.1.7) for various composite n between 10 and 100 for a=2,3,4 and compare to Ο(n).
3.
Without looking at any links, reconstruct the proof of the infinitude of primes mentioned in the first paragraph of the proof of Fact 21.1.5.
4.
Come up with two functions f(x) and g(x) that both go to infinity as xββ, such that f(x) is always ahead of g(x), but f and g are asymptotic (to each other).
5.
Come up with two functions f(x) and g(x) that both go to infinity as xββ, but that switch the lead infinitely often and f and g are asymptotic.
6.
Show that the two limits in the Prime Number Theorem are really equivalent. That is, show that if limxββΟ(x)/Li(x)=1, then the other limit with x/log(x) is also 1, and vice versa.
7.
Find an arbitrarily long sequence of consecutive composite numbers using factorials.
8.
Come up with two functions f(x) and g(x) such that f(x) is O(g(x)) and g(x) is O(f(x)), but they are not asymptotic.
9.
Use Proposition 21.3.5 to show that limxββΟ(x)/x=0.
10.
Show that if n>1000 then
To do this, you should compare 2log(n) and (log(2)+1)(log(2)+log(n)) and their derivatives for n=1000 and up, then divide the two expressions appropriately. You will need to justify the calculus fact that if f(x0)>g(x0) and fβ²>gβ² for xβ₯x0, then f>g for xβ₯x0 as well. See any calculus textbook for review of how derivatives work.
11.
Verify that 3.394nlog(n)<2nlog(2n+1) for n>1000. You will need to verify that the derivative of log(n)log(2n+1) is positive there.