Professional Documents
Culture Documents
Problem 4 Number Theory
Problem 4 Number Theory
Problem: Let an equal 6n + 8n . Determine the remainder upon dividing a83 by 49.
Definition: The function ϕ(n) gives the number of integers less than n that are relatively
prime to n. It can be computed by
Y 1
ϕ(n) = n 1−
p
p|n
Theorem: If n is a positive integer and a is relatively prime to n, then aϕ(n) ≡ 1 (mod n).
(Euler’s Theorem)
Theorem: To find the inverse of a (written a−1 ) in some mod b, solve the Diophantine
equation ax + by = 1. The value of x will be the inverse. (See Euclidean Algorithm).
Solution was written by Sean Soni and compiled from Art of Problem Solving Forums.