φ (19); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18; =18
φ (20); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; =8
φ (21); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; =12
φ (22); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21; =10
φ (23); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22; =22
φ (24); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23; =8
φ (25); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24; =20
φ (26); 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; =12
φ (27); 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; =18
φ (28); 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; =12
φ (29); 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; =28
φ (30); 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; =8
I will now try to find any relationships between the phi values of a number e, where e is an even number. I will also try to find any relationships between the phi values of a number o, where o is an even number. I will create a table to help me.
I will now try to find any relationships between the phi values of a number o, where o is an even number. I will create a table to help me.
From the above tables, and the value tables, I have observed the following:
-
The phi values of the numbers as a whole do not need to increase as the number increases.
φ(8) = 4, φ(7) = 6
But for even numbers, the φ values of an even number which is also a multiple of 3 or a multiple of 5 the value is less than that of the previous value, therefore we can say that:
φ(e, where e is an even integer and not a multiple of 5 or 3) < φ(the next e)
All the even numbers which are multiples of 3 or 5 break the increase of φ values as the number increases.
φ(34) = 16, φ(36) = 12
Also for the odd numbers, the phi of a number o, where o is an odd number but not a prime number, increases as the value of n increases. We can say that:
φ(o, where n is odd but not prime) < φ(the next o).
The value of o increases as the odd number increases.
Similarly in prime numbers, the phi values of a number, p, were p is prime, the values of phi p increase as the number increases. We can say that:
φ(p) < φ(next p)
-
I have also found out the phi value of a number p where p is a prime number to be:
φ(p) = p – 1
This is logically true as all prime numbers have only 1 as a common factor, therefore all the numbers less that p will be co-prime to it. Check:
φ(3) = 2
φ(5) = 4
φ(29) = 28
Therefore we can say that the phi value of 199 =
φ(199) = 198
-
I have also found out that the phi value of a number o, where o is an odd number, = the phi values of the number double it. Therefore we can say that:
φ(o) = φ(2 x o)
Check:
φ(3) = φ(6)
φ(3) = 2, φ(6) = 2
φ(3) is equal to φ(6)
φ(5) = 4, φ(10) = 4
φ(7) = 6, φ(14) = 6
Therefore we can say that:
φ(27) = 18 = φ(54)
-
I have also observed that to find the value of the phi of an even number, you could find that by checking the phi of its double, by twice of its answer. I.e. the phi of a number e, were e is an even number, is equal to the phi of twice that number divided by 2. We can see that:
2 x (φ(e)) = φ(2 x e) Therefore,
φ(e) = φ(2 x e) / 2
Check:
φ(8) = φ(16) / 2
φ(8) = 4 ; φ(16) = 8, φ(16) / 2 = 4
Therefore, φ(8) = φ(16) / 2
-
After working all the phi values above, and the tables I have realized that the φ value of a number n, where n is greater than 2, is always an even number.
φ(n > 2) = an even number
From the previous observations, it was obvious that the phi function should be investigated using prime numbers, as it was the only type of numbers that had a fixed formula. φ(p) = p – 1.
To make sure of my results ad deductions about the choice of prime numbers, I decided that I will create a table for the values of (n) and (n)² and their factors beginning with n.
From the above table it is seen that only prime numbers have a definite formula, and a relationship between all the numbers. For this reason I will continue my investigation using prime numbers.
In my next part of the investigation, I will investigate the phi values for the square of prime numbers. φ(p)²
Since the calculations of the phi values are too big in this part and the next parts of the investigations, I will use a calculator, which has a special function of finding the phi values. So for the phi values which are greater than 30 I will be using this calculator as the numbers are far too big to be calculated manually and will waste huge amounts of time.
From the above table the observer can see that the formula to find the phi of a prime number is:
φ(p)² = p x ( p –1)
Logically, this can proved also. The square of a prime number will not have factors except the prime number, 1 and the number itself. Therefore the phi of the square of the prime number will not have its factors similar to any number except the numbers divisible by the prime number itself, i.e. so it will be the square of the prime number minus the numbers divisible by the prime number, as this is the square of the prime number, the prime number will multiply itself the same number of times as its value to get the square of the prime. So the phi of the square of the prime number will be the square of the prime number minus the value of the prime number itself.
I shall prove this numerically using the sequence method. I shall take 3 prime numbers, the first 3 as they have the smallest numbers and for my convenience, and their φ(p)² values:
(x , y)
(2 , 2)
(3 , 6)
(5, 20)
The formula for the sequence method is:
Y = ax² + bx + c
Therefore I will have 3 equations:
20 = 25a + 5b + c … 1
6 = 9a + 3b + c … 2
2 = 4a + 2b + c … 3
1 – 2; 14 = 16a + 2b … 4
2 – 3; 4 = 5a + b … 5
now simultaneously:
4 – 5;
14 = 16a + 2b
(4 = 5a + b) x –2 = - 8 = - 10a – 2b
14 = 16a + 2b
- 8 = - 10a – 2b
6 = 6 a therefore a = 1
Substitute a in 4
14 = 16 + 2b
2b = -2, therefore b = -1
Now substitute a and b in 1
20 = 25 – 5 + c
20 = 20 + c, c = 0
a = 1, b = -1, c = 0
y = x² - x
Substitute y as φ(p)² and x as (p)
Therefore the equation for the formula of φ(p)² =
φ(p)² = p² - p which is =to the previous equation stated,
φ(p)² = p(p – 1)
Check:
φ(p)² = p(p – 1);
φ(2)² = 2(2 – 1)
φ(4) = 2, 2(2 – 1) = 2
φ(2)² = 2(2 - 1) (true)
φ(3)² = 3(3 – 1)
φ(9) = 6, 3(3 – 1) = 6
φ(3)² = 3(3 - 1) (true)
We can say that:
φ(11)² = 11(11 – 1)
φ(121) = 120
The check has proved that
φ(p)² = p(p – 1).
Now I will investigate the value of φ(p)³. Like previously, I will use a table to help me.
From the above table it is clear that φ(p)³ = p x φ(p)² i.e. φ(p)³ = p x p(p – 1)
This could also be proved logically as the cube of a prime number will only have factors divisible by the prime number itself, so the phi value of the cube of the prime number will be the cube of the prime number minus the cube of the prime number divided by the prime number, which is the square of the prime number. Therefore we can say that: φ(p)³ = p³ - p² which is equivalent to p x p(p – 1)
Check:
φ(p)³ = p(p – 1);
φ(2)³ = 2 x 2(2 – 1)
φ(8) = 4, 2 x 2(2 – 1) = 4
φ(2)³ = 2 x 2(2 - 1) (true)
φ(3)³ = 3 x 3(3 – 1)
φ(27) = 18, 3 x 3(3 – 1) = 18
φ(3)³ = 3 x 3(3 - 1) (true)
Now I investigate the value of the φ(p)^4. Just like the previous investigations I will use a table to help me.
From the above table we can see that φ(p) 4 = p x φ(p)³ i.e. φ(p) 4 = p x p x p(p –1).
This is equivalent to φ(p) 4 = p4 – p³.
This can also be proved logically, as the prime number to the power of four, will be only divisible by the multiples of the prime number itself. ∴the φ value of the prime number to the power of four will be equal to the prime number to the power of four minus the prime number to the power of 4 divided by the prime number itself. That is p^4 minus p^3. So this proves the formula φ(p) 4 = p4– p³, which is p x p x p (p – 1)
Check:
φ(p) 4 = p x p x p(p – 1);
φ(2) 4 =2 x 2 x 2(2 – 1)
φ(16) = 8, 2 x 2 x 2(2 – 1) = 8
φ(2) 4 = 2 x 2 x 2(2 - 1) (true)
φ(3) 4 = 3 x 3 x 3(3 – 1)
φ(81) = 54, 3 x 3 x 3(3 – 1) = 54
φ(3) 4= 3 x 3 x 3(3 - 1) (true)
We can say that:
φ(7) 4 = 7 x 7 x 7(7 – 1)
φ(2401) = 343(7 – 1) = 2058
Through investigating the φ(p), φ(p)², φ(p)³ and φ(p)4 I have found the following observations:
φ(p) = (p – 1)
φ(p)² = p (p – 1)
φ(p)³ = p² (p – 1)
φ(p) 4 = p³ (p – 1)
So we can actually say that:
φ(p) n = p n – 1 ( φ(p) )
∴ φ(p) n = p n – 1 (p – 1)