Math 5248: Cryptology and Number Theory
Spring 2018: Professor Andrew Odlyzko
Classes: MW 1:00  2:15, Vincent 113
Office Vincent Hall 511
 phone 6126255413
 email: odlyzko@umn.edu (preferred and most reliable method)
Office hours: Mon 5:30  7:00, Tue 2:00  5:30, and by appointment. However, always check this web page
before coming over, as on some days the hours may be restricted.
Textbook: "Cryptology and Number Theory" by Paul Garrett, available
at Alpha Print in Dinkytown (next to McDonald's), 1407 4th St SE., 6123798535.
Used copies from previous years, produced by Alpha Print, are the same. However,
the first edition, printed by the publisher, has substantial differences, and
would not suffice.
Additional material:
You might find useful two textbooks that are available freely (and legally) online,
Victor Shoup's "A Computational Introduction to Number Theory and Algebra",
Shoup book, and William Stein's
"Elementary Number Theory: Primes, Congruences, and Secrets",
Stein book.
For popular historical accounts of cryptology, highly recommended sources
are Simon Singh, "The Code Book"
and (for much more detail) David Kahn, "The Codebreakers".
Computer algebra systems (very helpful, although not absolutely essential and not required): Maple, Mathematica,
available in Math computer labs, and also (for CSE undergrads) for free downloads at
CSE Labs. Some systems available for free on the Web, such
as Wolfram Alpha, will likely suffice. A calculator is advisable, even if you use a computer
algebra system, to reduce the tedium of computations.
Tests: No final, three 75minute inclass midterms on Wed Feb 14, Wed Mar 28, and Wed May 2 (last class day).
Weekly homework assignments (usually, excluding midterm days), due (usually) on Wednesdays, first one (a small
one) due Jan. 24.
Will be posted by the preceding Friday, and will (usually) cover material through the preceding Wednesday.
Always due at the beginning of a class, late homeworks will not be accepted.
If you can't make it to class, you can leave your homework in
my mailbox in Vincent 107, or email it to me (in either typeset or scanned form, PDF preferred).
You may work with others on homework
problems. However, you have to write up your solutions yourself, in your own words, to show you
understand the arguments.
Special challenge problems: There will be occasional challenge problems for extra credit.
No collaborations are permitted on those.

Each of these problems will be worth some number of points towards the
homework score (with fractional credit for partial solutions).
Suppose that the maximal score on all the regular homeworks is x, and you get y points
on those regular homeworks and z on the extra credit ones. Then your final homework score will be
the minimum of x and y+z.
Solutions to homework problems will be available through this site, usually posted the
evening of the day they are due. However, they will not be
live links, but URLs that you will have to paste into your browser to download (to keep
crawlers from downloading and archiving them). These are for your use only, do not put
them up on any web sites, Facebook pages, etc.
Tests will be open book; you may bring books, notes, and calculators, but no smart
phones, iPads, or other communication devices can be used, and you have to do all the work
yourself.
Grades: homework will count for 30%, the three tests for 20%, 25%, and 25%, respectively.
Expected effort: This is a 4credit course, so you are expected to devote 12 hours per week,
on average (including lectures).
Solution files for homeworks and midterms are provided for your personal use only. Do not
distribute them via email or posting anyplace.
Scholastic Conduct: Cheating or other misconduct will not be tolerated. The standard University
policies will be followed.
General remarks:
This course develops the basic ideas of cryptology and related areas
of number theory. Both symmetric and public key cryptosystems will
be introduced, as will random number generators and cryptographic
protocols. The basics of the Bitcoin cryptocurrency will be covered
as an example of the application of the techniques developed in the
course.
Homework assignments and other notes:

Material covered on Jan 17: Sections 1.1, 1.2, 1.4  1.6 of Chapter 1 (with a few
results to be covered on Monday).

Due Wed Jan 24:

Textbook exercises 1.2.13, 1.2.17, 1.5.06, 1.5.09, and 1.6.01 (10 pts each).

Important note: In 1.2.17, assume that m is positive. (The claimed result is false if m is negative.
It would be a good (ungraded) exercise to find a counterexample to the claim of this problem when m is negative.)

Solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180124.pdf

Material covered the week of Jan 22: finish Chapter 1, cover most of sections 26.1 and 26.2 and Chapter 8.

Due Wed Jan 31:

Textbook exercises 1.6.04, 1.6.09, 1.6.14, 1.7.14, 1.7.19, 1.7.21, 26.2.08, 26.2.12, 26.2.29, and 26.2.30 (10 pts each).

Extra credit problem (20 pts): 26.2.17.

Solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180131.pdf

Material covered the week of Jan 29: Chapter 2, sections 4.1 and 4.2.

Due Wed Feb 7:

Textbook exercises 2.1.10, 2.1.12, 2.2.04, 2.2.05, 4.1.05, 4.1.08 (15 pts each), 4.2.06 (10 pts).

Solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180207.pdf

Material to be covered the week of Feb 5: Complete Chapter 4, lightly go over Chapter 5, do Chapter 6.

Material to be covered on Mon Feb 12: Start chapters 9 and 10 (in a mixedup order).

Office hours on Tue Feb 13 will be 1:30  5:00.

Wed Feb 14:

In class midterm. Material to be covered: chapters 1, 2, 4, 6 (but no need to
learn the "little cleverer" method of Section 6.3), and sections 26.1 and 26.2.

Open book; you may bring books, notes, and calculators, but no smart phones, iPads, or other communication devices can be used, and you have to do all the work yourself. Blue books will be available, but you do not have to use them.

No homework due this week. For practice on material that was not covered on homeworks, work out
textbook exercises 4.4.01, 4.4.12, 4.5.01, 4.5.02 (although those two are poorly written, in 4.5.01
all the phrases about probabilities should be deleted, and they should instead be moved to 4.5.02),
6.1.02, 6.2.07, 6.2.08, 6.3.06, 6.3.08, and 6.4.01.

Solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180211.pdf

Midterm: file http://www.dtc.umn.edu/~odlyzko/Math5248/exam4820180214.pdf

Midterm solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180214.pdf

Due Wed Feb 21:

Textbook exercises 9.1.06, 9.1.07, 9.5.04, and 9.5.09 (10 pts each), plus:

A1 (10 pts). Prove that x^5 + y^5 = 3 has no solution in integers x and y. (Hint: use modulo 11 arithmetic.)

A2 (10 pts). For which positive integer n < 100 is the Euler phifunction of n, which is the
size of (Z/n)^(x) (the set of reduced residue
classes mod n, those relatively prime to n) largest?

A3 (10 pts). Solve the modular equation 2101*x + 1111 = 0 mod 2513.

Solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180222.pdf

Material to be covered the week of Feb 19: Rest of chapters 9 and 10.

Due Wed Feb 28:

Textbook exercises 9.6.03, 9.7.05, 9.8.02, 10.1.02, 10.2.07, 10.3.01,
10.4.04, 10.4.06, 10.8.02 and 10.8.08 (10 pts each), where in 10.4.06 you are asked to
explain why the quadratic formula you have learned in high school does not solve
this equation.

Extra credit problem (20 pts): 9.6.12. Remember you have to work on this on your own, no
collaborations on this or other extra credit problems.

Solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180228.pdf

Material covered the week of Feb 26: Cover remaining few pieces of chapters 9 and 10,
start Chapter 7.

Due Wed March 7:

Textbook exercises 7.2.06, 7.2.09, 7.2.10, 7.3.08, 7.3.12, 7.3.13, 9.4.01,
9.4.05 (you should use results of 9.4.01, even if you have not succeeded in solving that problem),
and 10.5.03 (10 pts each, except for 20 pts for 7.2.09).

Extra credit problem (20 pts): 10.5.06. Remember you have to work on this on your own, no
collaborations on this or other extra credit problems.

Solutions: file http://www.dtc.umn.edu/~odlyzko/Math5248/sol4820180307.pdf

Material to be covered the week of March 5: Finish Chapter 7, cover (briefly) Chapter 14, start Chapter 13.

Due Wed March 21:

Textbook exercises 7.5.03, 13.1.04, and 13.1.08 (20 pts each), as well as:

A1 (20 pts): Show that if k is a positive integer such that 6*k+1, 12*k+1, and 18*k+1 are all
prime, then n = (6*k+1)*(12*k+1)*(18*k+1) is a Carmichael number. (There is additional material
on Carmichael numbers in Section 17.2.)

A2 (20 pts): Suppose that p is an odd prime, and g and h are two primitive roots mod p.
Can g*h ever be a primitive root?

Extra credit problem (20 pts): Consider a knapsack cipher of the type described in Section 7.6,
where the superincreasing sequence is given by a_i = 2^i, and the public weights c_i are a permutation
of the (t*a_i)%m. Show how to break this scheme.
As before, no collaborations on this problem are allowed.

Material to be covered the week of March 19: Rest of Chapter 13, chapters 12 and 17.

Wed Mar 28:

In class midterm. More to come.

Open book; you may bring books, notes, and calculators, but no smart phones, iPads, or other communication devices can be used, and you have to do all the work yourself. Blue books will be available, but you do not have to use them.

No homework due this week. Practice problems will be posted.
Up [
Return to home page
]