Docsity

Lecture 4: Worksheets, Lecture notes of Number Theory

Toggle sidebar
bg1
E-320: Teaching Math with a Historical Perspective Oliver Knill, 2011
Lecture 4: Worksheets
The Ulam Spiral
Fill in the primes into the Ulam spiral.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
Infinitely many primes
Euclid’s proof starts with the assumption that there are only finitely many primes. Enumerate
them p1, ...., pk. We can now form the number n=p1p2···pk+ 1. This number is not divisible
by any of the primes because it leaves rest 1. Since the number ncan not be divisible by any
prime, it must be a prime itself, but larger than any pj. This contradicts that the list of primes
was complete.
1. Primes of the form 4n+ 3.
We prove that there are infinitely many primes of the form 4n+ 3. We assume that there are only
finitely many primes p1, ..., pkof the form 4n+ 3.
a) Show that 4p1p2...pk−1 is again of the form 4n+ 3.
b) Can 4p1p2...pk−1 be a prime?
c) Can 4p1p2...pk−1 have a factor of the form 4n+ 3? (note p1, ..., pkare all)
We conclude that all factors of this number are of the form 4n+ 1. But then its product is of this
form too. Contradiction.
2. Arbitrary large gaps of primes
For every n, there exist consecutive primes which differ by at least n.
a) Show that all integers n! + 2, . . . .n! + nare composite.
b) Let pkbe the largest of the primes not greater than n! + 1 Then pk+1 is larger than n! + n.
2. Wilson’s theorem
nis a prime if and only if (n−1)! + 1 is divisible by n.
pf3

Partial preview of the text

Download Lecture 4: Worksheets and more Lecture notes Number Theory in PDF only on Docsity!

E-320: Teaching Math with a Historical Perspective

Oliver Knill, 2011

Lecture 4: Worksheets The Ulam Spiral

Fill in the primes into the Ulam spiral.

1

3 2

4

5 6 7

8

9

13 12 11 10

14

15

16

17 18 19 20 21

22

23

24

25

31 30 29 28 27 26

32

33

34

35

36

37 38 39 40 41 42 43

44

45

46

47

48

49

57 56 55 54 53 52 51 50

58

59

60

61

62

63

64

65 66 67 68 69 70 71 72 73

74

75

76

77

78

79

80

81

91 90 89 88 87 86 85 84 83 82

92

93

94

95

96

97

98

99

100

101102103104105106107108109110111

112

113

114

115

116

117

118

119

120

121

133132131130129128127126125124123122

134

135

136

137

138

139

140

141

142

143

144

145146147148149150151152153154155156157

158

159

160

161

162

163

164

165

166

167

168

169

183182181180179178177176175174173172171170

184

185

186

187

188

189

190

191

192

193

194

195

196

197198199200201202203204205206207208209210211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

240239238237236235234233232231230229228227226

Infinitely many primes

Euclid’s proof starts with the assumption that there are only finitely many primes.

Enumerate

them

p

, ...., p 1

. We can now form the numberk

n

p

p 1

2

p

k^

    1. This number is not divisible

by any of the primes because it leaves rest 1.

Since the number

n

can not be divisible by any

prime, it must be a prime itself, but larger than any

p

. This contradicts that the list of primesj

was complete.

1. Primes of the form

n

We prove that there are infinitely many primes of the form 4

n

    1. We assume that there are only

finitely many primes

p

, ..., p 1

k

of the form 4

n

a) Show that 4

p

p 1

2

...p

k^

1 is again of the form 4

n

b) Can 4

p

p 1

...p 2

k^

1 be a prime?

c) Can 4

p

p 1

...p 2

k^

1 have a factor of the form 4

n

  • 3? (note

p

1

, ..., p

k^

are all)

We conclude that all factors of this number are of the form 4

n

    1. But then its product is of this

form too. Contradiction.

2. Arbitrary large gaps of primes

For every

n

, there exist consecutive primes which differ by at least

n

a) Show that all integers

n

,... .n

n

are composite.

b) Let

p

k^

be the largest of the primes not greater than

n

! + 1 Then

p

k+

is larger than

n

n

2. Wilson’s theorem

n

is a prime if and only if (

n

1)! + 1 is divisible by

n

The proof of the theorem has two directions:If

n

is a prime, then the equation

xy

= 1 mod

n

with different

x, y

has exactly one pair of solution.

For

x

2

= 1, there is only the solution 1

,^ −

Wilson’s theorem in the case

p

= 17. We find all pairs which multiply to 1 Like 2

,^

,^4

,^8

15 = 120 which all leave rest 1 when dividing by 17.

Only the numbers

1 and

1 do not pair.

The product (

n

1)! multiplies all the numbers together and gives

Problem 1) Verify the proof either in the case

p

= 13 or

p

If

n

pq

is not a prime and larger than 4, then (

n

1)! is divisible by

n

because it is a multiple

of

p

and

q

Problem 2) Verify this in the concrete case of

n

= 15. Why is

a multiple of 15?

Fermat’s little theorem

We look at the proof of Fermat’s theorem which states that

a

p^

a

is divisible by

p

for all prime

p

The

binomial formula

is

(a

b

n)

a

n

(

n 1

)

a

n

−

1

b^

(

n^2

)

a

n−

2 b

2

(

n n

)

ab

n−

1

b

n

In the case

b

= 1 it means

(a

n^

a

n

(

n^1

)

a

n−

1

(

n^2

)

a

n

−

2

(

n n

)

a

4. The steps

  1. Check that Fermat’s theorem is true for

a

= 0 and

a

  1. Verify that the induction step from

a

to

a

  • 1 is equivalent to show that

(a

p^

a

p^

is divisible by

p

if

p

is a prime.

  1. Verify that (

a

p^

a

p^

1 is divisible by

p

if all all binomial coefficients

(

p m

)

p

m

p

m

p

p

p

m

m

m

are divisible by

p

  1. Now to the main part: why is

p ·(

p−

...

·(

p−

m

+1)

m

·(

m

−

·...

·^1

divisible by

p

if

p

is prime?