Unit 6: Number Theory and Its Application in Cryptography - Subjective Questions

MTH401 — Discrete Mathematics • Practice Questions with Detailed Answers

20 questions

1

Define divisibility. State and explain any four fundamental properties of divisibility with suitable examples.

2

Define congruence modulo . Prove that congruence modulo is an equivalence relation and state its compatibility with addition and multiplication.

3

Using modular arithmetic, calculate the least nonnegative residue of modulo and evaluate .

4

Define prime and composite numbers. State the Fundamental Theorem of Arithmetic and determine whether is prime.

5

Explain the relationship between the greatest common divisor and least common multiple of two positive integers. Verify the relationship for and .

6

Describe the Euclidean algorithm and use it to find .

7

Use the extended Euclidean algorithm to express as a linear combination of and .

8

State and prove Bézout's lemma. Explain one important consequence of the lemma.

9

State the solvability condition for a linear congruence . Solve .

10

Solve the linear congruence and list all incongruent solutions modulo .

11

When does an integer have a multiplicative inverse modulo ? Use the extended Euclidean algorithm to find the inverse of modulo .

12

State the Chinese Remainder Theorem and use it to solve the system , , and .

13

Explain the generalized Chinese Remainder Theorem for moduli that are not relatively prime. Determine whether the system and has a solution.

14

Describe the encryption and decryption rules of the Caesar cipher. Encrypt the plaintext ATTACK using a shift of .

15

Decrypt the Caesar-cipher ciphertext KHOOR when the key is . Also explain why the Caesar cipher is not secure.

16

Define the affine cipher. State the condition required for a valid encryption key and encrypt MATH using .

17

Derive the decryption function for the affine cipher and use it to decrypt QIZR.

18

Compare the Caesar cipher and the affine cipher with respect to their formulas, key spaces, decryption requirements, and security.

19

State and prove Fermat's Little Theorem.

20

Use Fermat's Little Theorem to evaluate . Also explain how the theorem can be used to find an inverse modulo a prime.