HW #3. Due Wed, Feb 11, 1998. Given on Feb 4. Math 365. Number Theory. Spring 1998. Use Matlab for the following 4 problems. Problem 1. Find the largest prime <100000. Answer. 99991. Problem 2. Find the 1000-th prime number. Answer. 7919. Problem 3. List all the primes <100000 whose last four digits (in the decimal system) are 9999. Problem 4. What is the largest gap between two consequtive primes < 100000. Answer. 72. ---- Let f( ) stands for the Euler function, f(n)=cardinality(U(n)). Problem 5. Find all n„1 for which (a) f(n)=4; (b) f(n)=12. Problem 6. Find the number of positive integers n<1000000 which have an odd number of positive integer divisors. Answer. 999 (squares in this region). Problem 7. Find the number of solutions to x^2=1 (mod N) where N stands for the product of first 10 primes. Answer. 2^9=512. -----------------------------------------------