matthias beck

professor of mathematics
kumi does math
san francisco state university

MATH 310

Elementary Number Theory

Fall 2025

cartoon: foxtrot does number theory

Lecture Mondays & Wednesdays 12:30-1:45 p.m. Thornton Hall 404
Prerequisites: MATH 301 with a grade of C or better or consent of the instructor
Instructor Dr. Matthias Beck
Office Creative Arts 32
Office hours Mondays 11-12, Wednesdays 10-11, by appointment, and via zoom

Course objectives. Number Theory studies the integers: numbers like 0, 1, -3, 34, ... which we used since childhood. A fundamental concept is that of divisibility: the integer a divides the integer b if we can find an integer c such that b=ac. This simple concept gives rise to a beautiful theory, encryptions schemes which are used on any computer today, and many famous open problems in mathematics, among other things.

As an example, we will consider prime numbers: those integers >1 that are only divisible by themselves and 1. There are infinitely many prime numbers--one of the many theorems we will prove in this course. The only even prime is 2, all others are odd. To say this in a more sophisticated way: there are infinitely many primes that have a remainder of 1 when divided by 2. Can one say something similar when we divide primes by 3? The only prime that does not give a remainder when divided by 3 is 3 itself. So all others give a remainder of 1 or 2. Are there infinitely many primes in both cases? To give an open problem, we mention twin primes: those are pairs of primes that differ by 2. Are there infinitely many twin primes?

Syllabus. Topics in this course will include:

Textbooks.

I will keep a brief diary here which sections we covered each week:

The math. The way to learn math is through doing math. One doesn't become a good piano player by listening to good music, and one doesn't learn how to shoot free throws by watching basketball games. Similarly, you don't learn mathematics by watching someone else do mathematics. You will be doing a lot of the math in this course. It is vital and expected that you attend every class meeting. You will get a good feel for the math from there, but it is even more crucial that you do the homework. Working in groups is not only allowed but strongly recommended.

Axioms & first principles. Our class is based on Federico Ardila's Axioms:

  1. Mathematical potential is distributed equally among different groups, irrespective of geographic, demographic, and economic boundaries.
  2. Everyone can have joyful, meaningful, and empowering mathematical experiences.
  3. Mathematics is a powerful, malleable tool that can be shaped and used differently by various communities to serve their needs.
  4. Every student deserves to be treated with dignity and respect.
I would emphasize within the last axiom that dignity and respect is also something you should treat yourself to, and that every person in our course, students and professor, are expected to be honest. It is likely that some or all of us will experience challenges and disruptions this semester. Please choose to act with compassion for others and for yourself as we navigate any situations that arise.

Homework. I will assign homework problems as we go through the material. You may (and should) work together with your class mates. You may not search the internet for solutions to problems; we will use our creativity, course texts, and peer collaboration as our tools. We can discuss the homework problems at any time during class, and you can hand in (or bring to my office hours) any of your solutions for feedback. The homework problems from any given week will be due before the following Wednesday class. You can either bring your homework to class or send me a pdf copy via email.

SageMath. You will be expected to use the open math software sage in some of your homework assignments. Here is a good introduction to sage. I have collected some useful sage commands for our class here.

Grading system. In our course, we will use a specifications-based assessment and grading system, which has the following key features:

The four elements of assessment and grading are as follows. To earn a particular grade in the class, you need to complete all of the requirements in the column corresponding to that grade in the table below; i.e., if the entry lists x then you need to receive a pass grade on x of those items to earn the corresponding column grade.
A B C D
Participation (out of 20) 17 15 13 11
Homework (out of 50) 45 41 33 25
Definition exams (out of 15) 13 12 10 8
Problem exams (out of 15) 12 11 9 7

I want to ensure that each of you accomplishes the goals of this course as comfortably and successfully as possible. At any time you feel overwhelmed or lost, please come and talk with me.

Fine print.
SFSU academic calender
BS rule
Academic Integrity and Plagiarism
Tutoring
CR/NCR grading
Incomplete grades
Late and retroactive withdrawals
Students with disabilities
Religious holidays

This syllabus is subject to change. All assignments, as well as other announcements on tests, policies, etc., are given in class. If you miss a class, it is your responsibility to find out what's going on. I will try to keep this course web page as updated as possible, however, the most recent information will always be given in class. Always ask lots of questions in class; my courses are interactive. You are always encouraged to see me in my office.

department of mathematics
san francisco state university
1600 holloway ave
san francisco, ca 94132

mattbeck

@

sfsu.edu