High School Mathematics Extensions/Primes/Problem Set/Solutions

From testwiki
Revision as of 21:35, 27 June 2013 by 65.39.11.172 (talk) (Question 2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:High School Mathematics Extensions/TOC Template:High School Mathematics Extensions/Primes/TOC

Template:High School Mathematics Extensions/Solutions/TOC

Question 1

Is there a rule to determine whether a 3-digit number is divisible by 11? If yes, derive that rule.

Solution

Let x be a 3-digit number We have

x=100a+10b+c

now

xa+10b+cab+c(mod11)

We can conclude a 3-digit number is divisible by 11 if and only if the sum of first and last digit minus the second is divisible by 11.

Question 2

Show that p, p + 2 and p + 4 cannot all be primes. (p a positive integer and is great than 3)

Solution

We look at the arithmetic mod 3, then p slotted into one of three categories

1st category
p0(mod3)
we deduce p is not prime, as it's a multiple of 3
2nd category
p1(mod3)
p+20(mod3)
so p + 2 is not prime
3rd category
p2(mod3)
p+40(mod3)
therefore p + 4 is not prime

Therefore p, p + 2 and p + 4 cannot all be primes.

Question 3

Find x

x17+27+37+47+57+67+77 (mod7)

Solution

Notice that

a7a(mod7).

Then

17(76)7(6)7(67)(mod7).

Likewise,

2757(mod7)

and

3747(mod7).

Then

x 17+27+37+47+57+67+77
17+27+37372717+77
0(mod7)

Question 4

9. Show that there are no integers x and y such that

x25y2=3

Solution

Look at the equation mod 5, we have

x2=3(mod5)

but

121
224
324
421

therefore there does not exist a x such that

x23(mod5)

Question 5

Let p be a prime number. Show that

(a)

(p1)!1 (modp)

where

n!=123(n1)n

E.g. 3! = 1×2×3 = 6

(b) Hence, show that

1p12!(modp)

for p ≡ 1 (mod 4)

Solution

a) If p = 2, then it's obvious. So we suppose p is an odd prime. Since p is prime, some deep thought will reveal that every distinct element multiplied by some other element will give 1. Since

(p1)!=(p1)(p2)(p3)2

we can pair up the inverses (two numbers that multiply to give one), and (p - 1) has itself as an inverse, therefore it's the only element not "eliminated"

(p1)!(p1)1

as required.

b) From part a)

1(p1)!

since p = 4k + 1 for some positive integer k, (p - 1)! has 4k terms

1=1×2×3×2k×(2k)×(3)×(2)×(1)

there are an even number of minuses on the right hand side, so

1=(1×2×3×2k)2

it follows

1=1×2×3×...2k

and finally we note that p = 4k + 1, we can conclude

1=p12!