The midterm exam will be held during class on Friday February 26. No calculators or electronic devices are permitted.

# Homework 5, due Monday Feb 15

- 2.16(a)(d)(f)
- 2.17(c)
- 2.18(c)
- 2.28(b)
- 3.12(b)
- 3.14(a)
- 3.15(d)
- Do the following experiment. Generate 40 random numbers between 10000 and 20000. What fraction of them are prime? Roughly how many did you expect to be prime (compare exercise 3.19)?

# Office hours end at 2:30 on Fri Jan 29

# Homework 4, due Monday Feb 8

- Problem 3.1(a). Also, describe the algorithm that is used to solve the problem.
- Problem 3.7
- Problem 3.6(a),(b-i,b-iii). In part (b), use the method you present in part (a).
- Problem 3.8
- Problem 3.9(d). (Don’t just factor N in Wolfram Alpha. Use the given method.)
- Problem 3.11

# No office hour Friday Feb 5

# Homework 3, due Monday February 1

Think seriously about question 2.1. It is not necessary to submit an essay. No written response is needed.

2.3(a)(b)(c)

2.4(a)

2.6

2.8

2.20 (1st part only; skip the last part about “every solution”)

# Homework 2, due Monday January 25.

Computers or calculators are allowed with these problems

- Problem 1.34.a.iii-iv
- Problem 1.36-a
- Problem 1.40
- Problem 1.41-b
- Problem 1.47
- Problem 1.49-a-b
- Problem 1.50