Reminder: Class on Wednesday, September 23rd is also on Zoom. The link is in Canvas.
Today’s lecture notes: Monday, September 21st (also on the Notes/Videos page). I’ll post the video link on discord once Zoom finishes preparing the recording.
Relevant Textbook Sections:
3.7 (Primality Testing), 3.7.1 (Fermat Primality Testing).
To Do:
- Using the modular arithmetic playground or other tools (such as the Sage Sandbox), find examples of and such that but . What do you notice about the for which you can find such examples?
- IF YOU ARE IN 4440: Think about forming a group of 2-3 people for a poster. Read the poster info in the Posters tab above. Reach out on discord, in person, etc., if you like to find a group that way. Then fill in the poster group form with your poster group situation so I can find out who is working with who or who needs help finding a team.
- IF YOU ARE IN 5440: You do an individual project instead of a poster. Send me an email with your thoughts on topic and your background and we can brainstorm.
- Think about your topic.
- Use the birthday paradox approximation formula (with the natural log e in it) to determine the minimal number of people who need to be in the classroom to have at least a 50% chance of a shared Ceres birthday. (You’ll need to look up how many earth days in a Ceres orbit.)
- Use Fermat’s Primality Test to detect whether 2001 and 2003 are composite or probably prime. Show your work (but you can use a calculator like Sage for the exponentiation). If one of them is probably prime, then try a different and explain what you learn.
- This problem outlines a proof that there are infinitely many primes from a CS perspective, using information theory (due to Chaitin). This proof is in the textbook, but the idea is to create it yourself without reading it there.
- Define the Kolmogorov complexity of an integer to be the length of the shortest computer program that will output in decimal form. (For concreteness, you can fix any programming language.) For example, the program for might simply be
print('2701'). This gives a trivial upper bound on of . Explain why. - For the numbers of the form , prove that is bounded above by by giving an actual computer program.
- Suppose there are only finitely many primes . The number is a constant. Show that for all , is bounded above by , by using unique factorization.
- Prove that there must exist having , by using a counting argument.
- Explain why this proves there are infinitely many primes.
- Define the Kolmogorov complexity of an integer to be the length of the shortest computer program that will output in decimal form. (For concreteness, you can fix any programming language.) For example, the program for might simply be
Added Sept 23: solutions to this daily post (the hunt, the Ceres birthday problem, and Fermat’s test on 2001 and 2003) are now posted: Solutions to Daily Due Sep 23.