BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course

Redeem

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.

★★★★★5.0559 reviews
GMATLiveTeach Starts Oct 17
Chris Peckover, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Chris Peckover, 100th-Percentile GMAT Scorer

Oct 17 · Chris Peckover
Sat · 11:00 AM to 2:00 PM ET
Oct 20 · Chris Peckover
Tue, Thu · 8:00 to 10:00 PM ET
Oct 25 · Josh Braslow
Sun · 1:00 to 4:00 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
EALiveTeachOnDemand 5 seats left Start anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

Logan Thompson
EXECUTIVE ASSESSMENT

Sep 6 to Dec 6, 2026

with Logan Thompson

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Sun · 9:30 AM to 12:30 PM ET
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
GMATOnDemand Start 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

Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.

gmat prep f(n)

Expert replies
Source: — Problem Solving |

by zacharyz » Tue Jun 03, 2008 10:31 am
Given:

f(n) is the number of integers that:
1) is less than n
2) has no factors in common with n

Question: f(p) where p is a prime number.

If p is an even number, then half the numbers less than it would share a common factor (namely the number 2). However, the question is asking for prime numbers.

The answer is that NO number less than than a prime number share a factor as the prime number, by definition. Therefore, EVERY integer less than p has no factors and should be counted. This is how you get:

A) f(p) = p - 1 since you are not counting p itself.

Part of the trick is that you need to count 1 also. I thought about not counting this when looking at f(2) = count of (1)

Also, let's look at some other wording:
-if you are asking f(even number): All even numbers share the factor 2. Then you could also share certain odd numbers (example, 6 contains 3 as a factor, therefore, 1 and 5 are the only numbers less than 6 to count)
-if you are asking f(odd number): You need to determine if it shares with odds (15 would not count 5 and 3. I also shares a factor with 10 and 6, because they share the factor 5 and 3 respectively. however 8 is 2^3 so there is no common there)
- f(prime) is the special case of odd numbers (and the number 2) as described above, but easier to figure out.
Join the discussion