5. Is
x
3
prime where
x
is any positive integer (i.e. a counting number: 1, 2, 3 ...).6. Consider the sequence of numbers: 41, 43, 47, 53, 61, ...(where the difference between each pair of numbers increases by 2 each time). Are all of these numbers in the sequence (up to infinity) prime?
3 Euler’s Totient Function,
φ
(
x
)
Euler’s totient function is generally written
φ
(
x
), and only exists when
x
is a positive integer. It is definedby:
φ
(
x
) = the number of positive integers less than
x
(and greater than or equal to 1) that are coprime to
x
. For example:
φ
(9) = 6as 1, 2, 4, 5, 7 and 8 are coprime to 9. Also,
φ
(13) = 12as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 are all coprime to 13.
3.1 Properties
(You might like to write reasons why this is true after it’s been explained on the board).For a prime number
p
:
φ
(
p
) =
p
−
1
φ
(
p
2
) =
p
2
−
p
For distinct primes
p
,
q
:
φ
(
pq
) =
pq
−
q
−
p
+ 1= (
p
−
1)(
q
−
1)
3.2 Exercises
1. Calculate
φ
(16),
φ
(21),
φ
(25),
φ
(7).
4 Modular Arithmetic
You might not have ever heard of modular arithmetic, but the chances are you use it every day. It’s justa posh name for arithmetic on remainders. For example, when you tell the time, if it’s 2pm you say it’s 2o’clock and not 14 o’clock. We say that the time is told
mod 12
(mod stands for modulo). We write this as:
t
≡
2 (mod 12)What this means is ”when t is divided by 12, the remainder is 2”. Some more examples are: 7
≡
2 (mod 5),6
≡
0 (mod 6).
4.1 Exercises
1. Calculate 7 (mod 3), 6 (mod 4), 100 (mod 9).2. What is
p
+ 3 (mod
p
) for any postive integer
p
bigger than 3?.3. What is
p
2
(mod
p
) for any positive integer
p
?. What about
p
2
+
p
+ 1 (mod
p
)?4. Does 2
x
≡
3 (mod 6) have any solutions if
x
is a positive integer? (if it does, state one, if not thensay why not)5. Solve 2
x
≡
4 (mod 6).2
Add a Comment
bhargav46left a comment