Harish Dorai Wrote:The function f is defined for all positive integers n by the following rule: f(n) is the number of positive integers each of which is less than n and also has no positive factor in common with n other than 1. If p is a prime number then f(p) =
A) p-1
B) p-2
C) (p+1)/2
D) (p-1)/2
E) 2
Take a prime number and figure out a specific soln for that prime number.
Let p = 5. So, excluding 1, the other numbers that have no factors common with 5 are 2,3,4.
Let p = 7. So, excluding 1, the other numbers that have no factors common with 7 are 2,3,4,5,6
Do you see the pattern? For any prime number, all the numbers less than it will have no factors in common with it except 1.
So f(p) = p - 2
Answer is B.