How many rational numbers in the interval ( 0 , 1 ) , when expressed in lowest terms, have denominators less than or equal to 10 ?
Details and assumptions
Clarification: The numbers 0 and 1 are not included in the open interval ( 0 , 1 ) . On the other hand, the numbers 0 and 1 are included in the closed interval [ 0 , 1 ] .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
WHAT IS PHI () ?
If a rational fraction is expressed in lowest terms, then the denominator and the numerator are co-prime to each other.All the numbers in the interval ( 0 , 1 ) are greater than 0 and less than 1 .
All the rational numbers in the interval ( 0 , 1 ) can be expressed as b a where a , b ϵ N and 1 ≤ a < b ≤ 1 0 .So, b can be any positive integer less than 1 0 instead of 1 and there may be multiple possible numbers of a for each b . So, for every b , there are ϕ ( b ) possible numbers of a . For any number n , ϕ ( n ) refers to the number of co-prime numbers smaller than n . Since, for each b , there are ϕ ( b ) , numbers of a s. So, there are ϕ ( b ) rational fractions for each distinct possible denominator b .
So, the number of possible rational fractions in this case is equal to b = 2 ∑ 1 0 ϕ ( b ) .
We can easily proof that, ϕ ( n ) = n ( 1 − p 1 1 ) ( 1 − p 2 1 ) . . . . . . ( 1 − p k 1 ) where n = ( p 1 ) q 1 × ( p 2 ) q 2 × . . . . × ( p k ) q k where p 1 , p 2 , p 3 , . . . . . p k are n 's prime factors.
So, b = 2 ∑ 1 0 ϕ ( b ) = ϕ ( 2 ) + ϕ ( 3 ) + ϕ ( 4 ) + ϕ ( 5 ) + . . . . . + ϕ ( 9 ) + ϕ ( 1 0 ) = 1 + 2 + 2 + 4 + 2 + 6 + 4 + 6 + 4 = 3 1
So, 3 1 rational numbers in the interval ( 0 , 1 ) which agrees with all the given conditions.
Let n a be the rational in the set. Before finding the answer for the problem, the conditions given must be satisfied.
From the given interval ( 0 , 1 ) the values for a should be 1 ≤ a < n
The values for n and considering condition 1, should be an integer 2 ≤ n ≤ 1 0
The rational must be in lowest term, in other words, a and n must be co-primes or do not have a common factor.
From condition 2, we can say the possible denominators 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 0 . And from condition 3, g cd ( a , n ) = 1 we will use Euler's totient function on each of the possible denominators to find the number of its co-primes in the interval ( 0 , 1 ) which satisfies condition 1. By that, the sum of the number of co-primes from each of the possible denominators should be the number of rationals in the set.
So let S be the number of rationals that satisfies all of the condition. S = i = 2 ∑ 1 0 φ ( i ) = φ ( 2 ) + φ ( 3 ) + φ ( 4 ) + φ ( 5 ) + φ ( 6 ) + φ ( 7 ) + φ ( 8 ) + φ ( 9 ) + φ ( 1 0 ) . Which will lead to, 1 + 2 + 2 + 4 + 2 + 6 + 4 + 6 + 4 = 3 1
Lets name A a set that contains only the numbers satisfying our restrictions. x is in A <=> ( there exists a positive non zero integer k) & (there exists a postive integer d) such that GCD(k,d)=1 and x=d/k & k is less than or equal to 10 & 0<x<1 <=> ( there exists a positive non zero integer k) & (there exists a postive integer d) such that GCD(k,d)=1 and x=d/k & k is in the set {2;3;4;5;6;7;8;9;10} ( we excluded 1 because if k=1 then x=d & 0<d<1 hence x is not an integer hence this is a contradiction ) & 0<d<k
+if k=2 then d=1 hence x has 1 possibility here
+if k=3 then d is in the set {1;2} hence x has 2 possibility here
+if k=4 then d is in the set {1;3} hence x has 2 possibility here
+if k=5 then d is in the set {1;2;3;4} hence x has 4 possibility here
+if k=6 then d is in the set {1;5} hence x has 2 possibility here
+if k=7 then d is in the set {1;2;3;4:5;6} hence x has 6 possibility here
+if k=8 then d is in the set {1;3;5;7} hence x has 4 possibility here
+if k=9 then d is in the set {1;2;4;5;7;8} hence x has 6 possibility here
+if k=10 then d is in the set {1;3;7;9} hence x has 4 possibility here
According to the rule of addition the number of possible values x can take is : 4+6+4+6+2+4+2+2+1=31
if a/b is in its lowest form, then a and b are co-prime. So , in this problem all we have to do is to sum up the number of co-prime integers less than the number, for the numbers 2-10. This is due to the constraint a/b < 1. This number is also known as Euler's totient function. So adding up. we get 31.
For a rational number to be expressed in lowest terms, both the numerator and the denominator must be coprime or relatively prime. For a rational number to be valid, the numerator must be coprime with the denominator and the denominator must be equal to or less than 10. Since we are excluding 0 and 1, we start with the numbers that are coprime with 2. (The number must have a smaller value than 2) This gives us 1. Then, we must find the numbers that are coprime with 3 and less than 3. This gives us 1 and 2. We repeat this process until we get to 10. Finally, we add the numbers together. We get 9+4+5+3+4+1+3+1+1 giving us an answer of 31.
First we observe that since the fraction is expressed in lowest terms,
therefore the denominator can only range from 2 to 10 inclusive
2, 3, 5, 7 are prime numbers, they can only be divided by 1 and themselves,
thus there are (2-1)+(3-1)+(5-1)+(7-1) = 13 fractions that satisfy the requirement
for composite numbers 4, 6, 8, 9 and 10
4 = 2^2
6 = 2*3
8 = 2^3
9 = 3^2
10 = 2*5
there are (4-1-1) + (6-1-2-1) + (8-1-3) + (9-1-2) + (10-1-4-1) = 18 fractions
adding them up, 13 + 18 = 31
for denominators for 2 to 10 :
for denominator 10 nominator could be : 1,3,7,9
for denominator 9 nominator could be : 1,2,4,5,7,8
for denominator 8 nominator could be : 1,3,5,7
for denominator 7 nominator could be : 1,2,3,4,5,6
for denominator 6 nominator could be : 1,5
for denominator 5 nominator could be : 1,2,3,4
for denominator 4 nominator could be : 1,3
for denominator 3 nominator could be : 1,2
for denominator 2 nominator could be : 1
so we got 31 rational numbers
For any positive integer n , there are n − 1 numbers in the interval ( 0 , 1 ) that can be expressed with denominator n , namely the numbers n 1 , n 2 , … , n n − 1 . However, when we have different values of n , these numbers are not necessarily distinct. If, for each value of n , we only count the number of such fractions which are in lowest terms, we will get the desired answer. For any n , the number of such fractions will be ϕ ( n ) . Thus, our total number of fractions will be ϕ ( 2 ) + ϕ ( 3 ) + ⋯ + ϕ ( 1 0 ) = 1 + 2 + 2 + 4 + 2 + 6 + 4 + 6 + 4 = 3 1 .
Problem Loading...
Note Loading...
Set Loading...
Let the rational number be b a with a and b are coprime integers. Here, we are just need to find how many positive integers a that less than b , with g cd ( a , b ) = 1 , so, it is just equivalent to compute φ ( 2 ) + φ ( 3 ) + φ ( 4 ) + ⋯ + φ ( 1 0 ) which is equal to 3 1
We are done ;)