Docsity

Solutions for Problem Set 3 - Problem Solving Seminar | Math 194, Assignments of Mathematics

Toggle sidebar
bg1
Math 194, solutions for problem set #3
For discussion Tuesday October 23
(1) Prove that 3636 + 4141 is divisible by 77.
Solution: Notice that 3636 + 4141 ≡(1)36 + (−1)41 ≡0 (mod 7). Also,
since (−3)5≡ −243 ≡ −1 (mod 11), 3636 + 4141 ≡(3)36 + (−3)41 ≡(3)36 +
(−3)36+5 ≡(3)36 −(−3)36 ≡0 (mod 11). Thus, 3636 + 4141 ≡0 (mod 77).
(2) A positive integer’s digits are all 6 or 0; can it be be a perfect square?
Solution: Let nbe the smallest positive integer square whose digits are all
6 or 0. Notice that since nis an even square, it must be a multiple of 4, and
so ncannot end in 06 or 66. Also, ncannot end in 60, because since nis
a square, if it is divisible by 10, it must also be divisible by 100. Finally, n
cannot end in 00, because then n/100 would also be an integer square whose
digits are all 6 or 0, but nis the smallest such integer. Since there is no such
smallest positive integer n, there can be no such positive integer.
(3) Show that x2−y2=a3always has positive integer solutions for xand y
whenever ais an integer greater than one. For which values of ais the solution
unique?
Solution: If ais odd, let y= (a3−1)/2, and let x=y+ 1. Then x2−y2=
(x−y)(x+y) = 1 ·[(a3−1)/2 + (a3+ 1)/2] = a3. If ais even, let y=a3/4−1,
and let x=y+2. Then x2−y2= (x−y)(x+y) = 2·[a3/4−1+ a3/4 + 1] = a3.
A different solution when ais odd is to let y= (a2−a)/2, and let x=y+a
so that x2−y2= (x−y)(x+y) = a·[(a2−a)/2 + (a2+a)/2] = a3. A different
solution when ais even is to let y=a3/8−2, and let x=y+ 4, so that
x2−y2= (x−y)(x+y) = 4·[a3/8−2 + a3/8 +2] = a3. When a= 2, our second
construction would produce a negative yvalue. Considering the case a= 2
separately, we see that a positive integer solution to x2−y2= (x−y)(x+y) = 8
requires {x−y, x+y}={2,4}, which can only happen via our original solution.
Thus the solution is only unique for a= 2.
(4) What is the smallest natural number that leaves remainders 1,2,3,4,5,6,7,8
and 9 when divided by 2,3,4,5,6,7,8,9 and 10, respectively?
Solution: Ignoring redundancies, the conditions above are equivalent to n
being the smallest natural number that leaves remainders 4,6,7 and 8 when
divided by 5,7,8 and 9, respectively. This is the same as saying n≡ −1
(mod 5), n ≡ −1 (mod 7), n ≡ −1 (mod 8), and n≡ −1 (mod 9), which is
equivalent to n≡ −1 (mod 5 ·7·8·9). The smallest such natural number n
is 5 ·7·8·9−1 = 2519.
pf3

Partial preview of the text

Download Solutions for Problem Set 3 - Problem Solving Seminar | Math 194 and more Assignments Mathematics in PDF only on Docsity!

Math 194, solutions for problem set

For discussion Tuesday October 23

(1) Prove that 36^36 + 41^41 is divisible by 77. Solution: Notice that 36^36 + 41^41 ≡ (1)^36 + (−1)^41 ≡ 0 (mod 7). Also, since (−3)^5 ≡ − 243 ≡ −1 (mod 11), 36^36 + 41^41 ≡ (3)^36 + (−3)^41 ≡ (3)^36 + (−3)36+5^ ≡ (3)^36 − (−3)^36 ≡ 0 (mod 11). Thus, 36^36 + 41^41 ≡ 0 (mod 77).

(2) A positive integer’s digits are all 6 or 0; can it be be a perfect square? Solution: Let n be the smallest positive integer square whose digits are all 6 or 0. Notice that since n is an even square, it must be a multiple of 4, and so n cannot end in 06 or 66. Also, n cannot end in 60, because since n is a square, if it is divisible by 10, it must also be divisible by 100. Finally, n cannot end in 00, because then n/100 would also be an integer square whose digits are all 6 or 0, but n is the smallest such integer. Since there is no such smallest positive integer n, there can be no such positive integer.

(3) Show that x^2 − y^2 = a^3 always has positive integer solutions for x and y whenever a is an integer greater than one. For which values of a is the solution unique? Solution: If a is odd, let y = (a^3 − 1)/2, and let x = y + 1. Then x^2 − y^2 = (x − y)(x + y) = 1 · [(a^3 − 1)/2 + (a^3 + 1)/2] = a^3. If a is even, let y = a^3 / 4 − 1, and let x = y +2. Then x^2 −y^2 = (x−y)(x+y) = 2·[a^3 / 4 −1+a^3 /4+1] = a^3. A different solution when a is odd is to let y = (a^2 − a)/2, and let x = y + a so that x^2 − y^2 = (x − y)(x + y) = a · [(a^2 − a)/2 + (a^2 + a)/2] = a^3. A different solution when a is even is to let y = a^3 / 8 − 2, and let x = y + 4, so that x^2 −y^2 = (x−y)(x+y) = 4·[a^3 / 8 −2+a^3 /8+2] = a^3. When a = 2, our second construction would produce a negative y value. Considering the case a = 2 separately, we see that a positive integer solution to x^2 −y^2 = (x−y)(x+y) = 8 requires {x−y, x+y} = { 2 , 4 }, which can only happen via our original solution. Thus the solution is only unique for a = 2.

(4) What is the smallest natural number that leaves remainders 1, 2 , 3 , 4 , 5 , 6 , 7 , 8 and 9 when divided by 2, 3 , 4 , 5 , 6 , 7 , 8 , 9 and 10, respectively? Solution: Ignoring redundancies, the conditions above are equivalent to n being the smallest natural number that leaves remainders 4, 6 , 7 and 8 when divided by 5, 7 , 8 and 9, respectively. This is the same as saying n ≡ − 1 (mod 5), n ≡ −1 (mod 7), n ≡ −1 (mod 8), and n ≡ −1 (mod 9), which is equivalent to n ≡ −1 (mod 5 · 7 · 8 · 9). The smallest such natural number n is 5 · 7 · 8 · 9 − 1 = 2519.

2

(5) Determine all n such that the n-digit number Rn = 1111 · · · 111 is divisible by 37. For which n is it divisible by 41? Solution: We will show that Rn is divisible by 37 if and only if n is divisible by 3. Observe that 3 · 37 = 111. If n ≡ 0 (mod 3), then

Rn =

∑^ n/^3

i=

3 · 37 · 1000 i−^1 ,

and so Rn is divisible by 37. If n ≡ 1 (mod 3), then

Rn = 1 + 10

(n ∑−1)/ 3

i=

3 · 37 · 1000 i−^1 ,

so Rn ≡ 1 6 ≡ 0 (mod 37). If n ≡ 2 (mod 3), then

Rn = 11 + 100

(n ∑−2)/ 3

i=

3 · 37 · 1000 i−^1 ,

so Rn ≡ 11 6 ≡ 0 (mod 37). We also show that Rn is divisible by 41 if and only if n is divisible by 5. Observe that 41 · 271 = 11111. If n ≡ 0 (mod 5), then

Rn =

∑^ n/^5

i=

41 · 271 · 100000 i−^1 ,

and so Rn is divisible by 41. If n ≡ r (mod 5) for 0 < r < 5, then

Rn = Rr + 10r

(n ∑−r)/ 5

i=

41 · 271 · 100000 i−^1 ,

and so Rn ≡ Rr (mod 41). Since Rr 6 ≡ 0 (mod 41) for 0 < r < 5, our result holds.

(6) Show that there is a sequence of 10^6 consecutive positive integers, each of which is divisible by the cube of some integer greater than 1. Solution: Let pi be the ith prime for 1 ≤ i ≤ 106. By the Chinese Remainder Theorem, there exists a simultaneous solution x to the system of equations x ≡ −i (mod p^3 i ). Thus, x+i ≡ 0 (mod p^3 i ) for every 1 ≤ i ≤ 106 , and so we have 10^6 consecutive positive integers, each of which is divisible by the cube of a prime.