[GMAT math practice question]
f(x) denotes the number of prime numbers less than or equal to a positive integer x, and m(a, b) denotes the maximum of a and b. What is the summation of all the values of x which satisfy m(f(x), 5)=5?
A. 70
B. 72
C. 74
D. 76
E. 78
f(x) denotes the number of prime numbers less than or equal
This topic has expert replies
- Max@Math Revolution
- Elite Legendary Member
- Posts: 3991
- Joined: Fri Jul 24, 2015 2:28 am
- Location: Las Vegas, USA
- Thanked: 19 times
- Followed by:37 members
Math Revolution
The World's Most "Complete" GMAT Math Course!
Score an excellent Q49-51 just like 70% of our students.
[Free] Full on-demand course (7 days) - 100 hours of video lessons, 490 lesson topics, and 2,000 questions.
[Course] Starting $79 for on-demand and $60 for tutoring per hour and $390 only for Live Online.
Email to : [email protected]
-
- Legendary Member
- Posts: 2214
- Joined: Fri Mar 02, 2018 2:22 pm
- Followed by:5 members
f(x) = number of prime number less than or equal to a positive integer x.
Hence, f(2) = no. of prime number < or = 2
so, f(2) = 1
f(3) = 2
f(5) = 3 [i.e between 0 and 5, there are only 3 prime numbers; 2, 3, and 5].
m(a,b) is a function that takes 2 argument 'a' and 'b'.
Compare both argument and return the argument that has the highest value.
$$I.e\ m\left(a,b\right)=\left(a\ if\ a\ \ge b\right)\ OR\ \left(b\ if\ a\le b\right)$$
For m[f(x), 5] = 5
$$This\ means\ that\ f\left(x\right)\le5.\ Since\ x\ is\ a\ positive\ integer\ 0\le f\left(x\right)\le5$$
This impies f(x) can either be 0, 1, 2, 3, 4 or 5. Definitely, f(x) have at most, 5 prime numbers which can be 2, 3, 5, 7, 11.
Maximum value of x = 12 because 13 is another prime number and that will make f(x) = 6.
Minimum value of x = 1
All possible values of x = 1, 2, 3, ..., 12
Therefore, the summation of all the values of x that satisifies ;
$$m\left[f\left(x\right),5\right]=5=>S_n=\frac{n\left(a+l\right)}{2}$$
nth term = 12
a = first term
l = last term
$$S_{12}=\frac{12\left(1+12\right)}{2}=\frac{12\cdot13}{2}=78$$
So, the answer to this is option E. Thank you.
Hence, f(2) = no. of prime number < or = 2
so, f(2) = 1
f(3) = 2
f(5) = 3 [i.e between 0 and 5, there are only 3 prime numbers; 2, 3, and 5].
m(a,b) is a function that takes 2 argument 'a' and 'b'.
Compare both argument and return the argument that has the highest value.
$$I.e\ m\left(a,b\right)=\left(a\ if\ a\ \ge b\right)\ OR\ \left(b\ if\ a\le b\right)$$
For m[f(x), 5] = 5
$$This\ means\ that\ f\left(x\right)\le5.\ Since\ x\ is\ a\ positive\ integer\ 0\le f\left(x\right)\le5$$
This impies f(x) can either be 0, 1, 2, 3, 4 or 5. Definitely, f(x) have at most, 5 prime numbers which can be 2, 3, 5, 7, 11.
Maximum value of x = 12 because 13 is another prime number and that will make f(x) = 6.
Minimum value of x = 1
All possible values of x = 1, 2, 3, ..., 12
Therefore, the summation of all the values of x that satisifies ;
$$m\left[f\left(x\right),5\right]=5=>S_n=\frac{n\left(a+l\right)}{2}$$
nth term = 12
a = first term
l = last term
$$S_{12}=\frac{12\left(1+12\right)}{2}=\frac{12\cdot13}{2}=78$$
So, the answer to this is option E. Thank you.
- Max@Math Revolution
- Elite Legendary Member
- Posts: 3991
- Joined: Fri Jul 24, 2015 2:28 am
- Location: Las Vegas, USA
- Thanked: 19 times
- Followed by:37 members
=>
Since m(f(x),5)=5, we have f(x) ≤ 5 or f(x) = 0, 1, 2, 3, 4 or 5.
f(1) = 0, f(2) = 1, f(3) = 2, f(4) = 2, f(5) = 3, ... , f(11) = 5, f(12) = 5, f(13) = 6. f(13) = 6 is out of the range of f(x) ≤ 5.
So, all possible values of x are 1, 2, 3, ... , 12 and we have 1 + 2 + 3 + ... + 12 = 78.
Therefore, E is the answer.
Answer: E
Since m(f(x),5)=5, we have f(x) ≤ 5 or f(x) = 0, 1, 2, 3, 4 or 5.
f(1) = 0, f(2) = 1, f(3) = 2, f(4) = 2, f(5) = 3, ... , f(11) = 5, f(12) = 5, f(13) = 6. f(13) = 6 is out of the range of f(x) ≤ 5.
So, all possible values of x are 1, 2, 3, ... , 12 and we have 1 + 2 + 3 + ... + 12 = 78.
Therefore, E is the answer.
Answer: E
Math Revolution
The World's Most "Complete" GMAT Math Course!
Score an excellent Q49-51 just like 70% of our students.
[Free] Full on-demand course (7 days) - 100 hours of video lessons, 490 lesson topics, and 2,000 questions.
[Course] Starting $79 for on-demand and $60 for tutoring per hour and $390 only for Live Online.
Email to : [email protected]