Modular arithmetic
1.[2p] Using the alternating digit sum, what remainder does leave on division by ? Give a number from to .
Using the alternating digit sum, what remainder does leave on division by ? Give a number from to .
2.[2p] 1 January 2026 fell on a Thursday. On what day of the week does 1 January 2030 fall? (2028 is a leap year.)
1 January 2026 fell on a Thursday. On what day of the week does 1 January 2030 fall? (2028 is a leap year.)
3.[2p] Find the inverse of modulo , as a number from to .
Find the inverse of modulo , as a number from to .
4.[2p] Which of these classes have a multiplicative inverse modulo ?
Which of these classes have a multiplicative inverse modulo ?
Select all that apply
5.[2p] How many solutions modulo does have?
How many solutions modulo does have?
6.[3p] Find the smallest positive solution of .
Find the smallest positive solution of .
7.[3p] Find the smallest positive with , and .
Find the smallest positive with , and .
8.[2p] The first nine digits of the ISBN of the third edition of Knuth's The Art of Computer Programming, Volume 1, are 0-201-89683. What is the check digit?
The first nine digits of the ISBN of the third edition of Knuth's The Art of Computer Programming, Volume 1, are 0-201-89683. What is the check digit?
9.[1p] A clerk copies a valid ISBN-10. Which of these mistakes can the check digit fail to detect?
A clerk copies a valid ISBN-10. Which of these mistakes can the check digit fail to detect?