The phi-function

Authors Avatar
MATHS INVESTIGATION

THE PHI-FUNCTION

Luke Meredith 11 Yellow

The Problem

With any positive integer (n), the Phi Function of n is ?(n). The Phi number of n is the amount of numbers from 1to n (not including 1 or n) that do no share any common factors with n. If the two or more numbers share no common factor, then the numbers are co-prime.

So to put this into practice, the ?(8) = 4. This is because the positive integers less than 8, which have no common factors other than 1 with 8 are 1,3,5,7. This shows 4 of them, which is how the phi number is worked out.

Another example is ?(15) = 8. The numbers, which do not have any common factors with 8, from numbers 1 to 8 (excluding 1 and 8), are 1,2,4,6,7,8,11,13,14 = 8 of them.

What I am trying to find out is a formula, which will enable me to find the Phi of any number, without going through the painstakingly process of working out the phi for every number. However, you could say that it is not too hard working the phi out for numbers say 1 to a 100. Yet what would happen of you needed to know the phi of 30,041.

To complete my goal I will have to follow many different stages to finally work out the formula.

So the first stage I will do is to find out the numbers from say 1 to 36.

n

The

?(n)

The numbers with no common factors with n.

0

0.

2

.

3

2

-.2

4

2

,3.

5

4

-4.

6

2

,5.

7

6

-6.

8

4

,3,5,7,8.

9

6

,2,4,5,7,8.

0

4

,3,7,9.

1

0

-10.

2

4

,5,7,13.

3

2

-12.

4

6

,3,5,9,11,13.

5

8

,2,4,7,8,11,13,14.

6

8

,3,5,7,9,11,13,15.

7

6

-16.

8

6

,5,7,11,13,17,19.

9

8

-18.

20

8

1,3,7,911,13,17,19.
Join now!


21

2

1,2,4,5,8,10,11,13,16,17,19,20.

22

0

,3,5,7,9,11,13,15,17,19,21.

23

22

-22.

24

8

,57,11,13,17,19,23.

25

20

,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,21,22,23,24.

26

2

,3,5,7,9,11,15,17,19,21,23,25.

27

8

,2,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26.

28

2

,3,5,9,11,13,15,17,19,23,25,27.

29

28

-28.

30

8

,7,11,13,17,19,23,29.

31

30

-30.

32

6

,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31.

33

22

,2,4,5,7,8,10,12,13,14,16,17,19,20,22,23,25,26,28,29,31,32.

34

6

,3,5,7,9,11,13,15,19,21,23,25,27,29,31,33.

35

26

,2,3,4,6,8,9,11,12,13,14,16,17,18,19,21,22,23,24,26,27,29,31,32,33,34.

36

2

,5,7,11,13,17,19,23,25,29,31,35.

The ...

This is a preview of the whole essay