PUMaC2013 NumberTheoryBSol
PUMaC2013 NumberTheoryBSol
PUMaC2013 NumberTheoryBSol
2013100 ≡ 13100
= (10 + 3)100
≡ 3100
≡ 4910
≡ 4015
= (400 + 1)5
≡1 (mod 1000)
and
1
• x is 5 more than a multiple of 7,
• x is 9 more than a multiple of 11, and
• x is 2 more than a multiple of 13.
Solution The first four conditions is the same as x ≡ −2 (mod 1155). By trial, the answer is
x = 12703.
Alternatively, we have to solve the two equations x ≡ −2 (mod 1155) and x ≡ 2 (mod 13).
Thus we can write x = 1155y − 2, and substituting this into the second equation, we obtain:
1155y − 2 ≡ 11y − 2 ≡ 2 (mod 13) ⇒ −2y ≡ 4 (mod 13) ⇒ y ≡ −2 ≡ 11 (mod 13), so
x = 11 · 1155 − 2 = 12703
4. [4] Compute the smallestinteger n ≥ 4 such that n4 ends in 4 or more zeroes (i.e. the
5. [5] Let A be the greatest possible value of a product of positive integers that sums to 2014.
Compute the sum of all bases and exponents in the prime factorization of A. For example, if
A = 7 · 115 , the answer would be 7 + 11 + 5 = 23.
Solution Note that if we have a large enough n, odd n ≥ 5, break it as n = n−1 n+1
2 + 2 . This
n n
product is larger than n For even n ≥ 4, break it as n = 2 + 2 . This product is larger than n.
Furthermore, noting that 23 < 32 , we should have at most two 2’s. So the optimum case is
(2)(2) + (670)(3) = 2014. The answer is 677.
10 45
6. [6] Let d be the greatest common divisor of 230 − 2 and 230 − 2. Find the remainder when
d is divided by 2013.
Solution We have
10 45 10
−1,3045 −1) (10,45)
−1 5
d = (230 − 2, 230 − 2) = 2 · (2(30 − 1) = 2 · (230 − 1) = 230 − 2.
In particular,
9
X 9−a
X0
a0 = (k − 1)ak ≥ (k − 1)
k=2 k=2
2
8. [8] What is the largest positive integer that cannot be expressed as a sum of non-negative
integer multiples of 13, 17 and 23?
Solution There are numerous approaches to this problem, and no approach that attempts to
find the last obtained remainder modulo any of the three numbers in sums of them will fail.
The below is our approach:
By trial, the following gives the smallest positive integer in the form 17a + 23b for integers
a, b ≥ 0 in different residue classes modulo 13 (starting from the class 0):
91, 40, 80, 68, 17, 57, 97, 46, 34, 74, 23, 63, 51.
(Indeed, one should note that 5(17) ≡ 2(23) (mod 13) and 3(23) ≡ 17 (mod 13) to reduce the
number of cases for consideration.)
The largest n which is not of the form 13x + 17y + 23z is therefore 97 − 13 = 84.