Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.

See classes
Target Test Prep · GMAT

Choose how you want to prepare

Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

Newsweek Readers’ Choice Awards 2026 winner: Target Test Prep, #1 Test Prep

Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.

★★★★★5.0563 reviews
GMATLiveTeachStarts Nov 22
Josh Braslow, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Josh Braslow, 20+ years in test prep

Nov 22 · Josh Braslow
Sun · 9:30 AM to 12:30 PM ET
Included
40 hours of live online classes + 6 months of TTP OnDemand
  • Attend the first class for free
  • Every class is recorded, so you never fall behind
View classes & enroll
Limited seats availableTarget Test Prep
EALiveTeachOnDemandStart anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

EXECUTIVE ASSESSMENT

with

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Included
40 hours of live online classes plus six months of access to the complete TTP EA OnDemand course.
  • 165+ EA Score Guarantee
  • 4,100+ Quant, Verbal, and Integrated Reasoning practice questions
  • 400+ hours of in-depth video lessons
  • 3,000+ step-by-step video solutions
View EA class & enroll Start free 5-day trial
Limited cohort · enrollment openTrial includes full course accessTarget Test Prep
GMATOnDemandStart anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

715+ score guarantee
$0to start then $127/mo
  • Personalized study plan and analytics
  • Thousands of lessons and practice questions

f(x) denotes the number of prime numbers less than or equal

Expert replies
by Max@Math Revolution » Thu Oct 03, 2019 11:24 pm
[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
Join the discussion
Source: — Problem Solving |

by deloitte247 » Sun Oct 06, 2019 8:14 am
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.
Join the discussion

by Max@Math Revolution » Sun Oct 06, 2019 5:59 pm
=>

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
Join the discussion