You are on page 1of 1

Homework-Day 2

Aritra Dey
June 13, 2023

1) Employ Fermat’s theorem to prove that, if p is an odd prime, then


(a) 1p−1 + 2p−1 + 3p−1 + · · · + (p − 1)p−1 ≡ −1(modp)
(b) 1p + 2p + 3p + · · · + (p − 1)p ≡ 0(modp). [Hint: Recall the identity
1 + 2 + 3 + · · · + (p − 1) = p(p − 1)/2.

2)
(a) Let p be a prime and gcd(a, p) = 1. Use Fermat’s theorem to
verify that x ≡ ap−2 b (modp) is a solution of the linear congruence
ax ≡ b(modp).
(b) By applying part (a), solve the congruences 2x ≡ 1(mod31), 6x ≡
5(mod11), and 3x ≡ 17(mod29)

3) If p and q are distinct primes, prove that

pq−1 + q p−1 ≡ 1(modpq)

4) The three most recent appearances of Halley’s comet were in the


years 1835,1910 , and 1986; the next occurrence will be in 2061. Prove
that
18351910 + 19862061 ≡ 0(mod7)

You might also like