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 Question - Function

Expert replies
by ZT » Wed Apr 04, 2012 10:07 am
Please help solve the following. I'm having a hard time understanding what's actually being asked. Your help to explain will be much appreciated!

The function f is defined for all postive integers n by the following rule: f(n) is the number of positive integers each of which is less than n and has no positive factor in common with n other than 1. If p is any prime number, then f(p) =

A)p-1
B)p-2
C)(p+1)/2
D)(p-1)/2
E)2
Last edited by ZT on Thu Apr 05, 2012 6:38 am, edited 1 time in total.
Join the discussion
Source: — Problem Solving |

by Pharo » Wed Apr 04, 2012 1:01 pm
Hey dude! I believe the question is missing a vital part :
The function f is defined for all postive integers n by the following rule: f(n) is the number of positive integers each of which is less than n and has no positive factor in common with n other than 1. If p is any prime number, then f(p) =
without "1"; the answer would be 0 :P

Let me give you some output of the formula they have given us.

f(n) = (number of positive integers less than n) AND (has no positive factor in common with n other than 1)
f(3) = 2; what are the positive integers less than 3? They are 1 and 2. And Do they have a positive factor in common with n other than 1? Nope. So the output of the function is 2. (i.e the count of the numbers that satisfy both statements)
f(5) = 4; What are the positive integers less than 5? They are 1,2,3,4. Do they have a positive factor in common with n other than 1? Nope. So the output of the function is 4. (i.e. the count of the numbers that satisfy both statements)

And you realized it? I was giving you prime numbers as n :) -- I gave you n=3; f(n) turned out to be 2. I said n = 5; f(n) turned out to be 4. (i.e f(n)= n-1 IF n is prime). Hence the answer should be A :)

The proof of the above would be this :

A prime number has no other divisor than 1 and itself. So any positive integer less than it will satisfy the "has no positive factor in common other than 1" clause. And how many positive integers are there less than it? Whatever the value is minus 1 :)
Join the discussion

by neelgandham » Wed Apr 04, 2012 1:02 pm
The function f is defined for all postive integers n by the following rule: f(n) is the number of positive integers each of which is less than n and has no positive factor in common with nother than . If p is any prime number, then f(p) =

A)p-1
B)p-2
C)(p+1)/2
D)(p-1)/2
E)2

If p = 3, f(p) = 2 (Number : 2,1) Now let's check

A)p-1, p = 3, f(p) = 2 May be
B)p-2, p = 3, f(p) = 1, Oops, Incorrect
C)(p+1)/2, p = 3, f(p) = 2 May be
D)(p-1)/2, p = 3, f(p) = 1, Oops, Incorrect
E)2, May be

Now we have options B) and D) to choose
If p = 5, f(p) = 4 (Numbers: 1,2,3,4).

A)p-1, p = 5, f(p) = 4 May be
C)(p+1)/2, p = 5, f(p) = 3 Oops, Incorrect
E)2, Oops, Incorrect

Answer A

Edit: Corrected!
Anil Gandham
Welcome to BEATtheGMAT | Photography | Getting Started | BTG Community rules | MBA Watch
Check out GMAT Prep Now's online course at https://www.gmatprepnow.com/
Join the discussion

by Anurag@Gurome » Wed Apr 04, 2012 6:44 pm
ZT wrote:Please help solve the following. I'm having a hard time understanding what's actually being asked. Your help to explain will be much appreciated!

The function f is defined for all postive integers n by the following rule: f(n) is the number of positive integers each of which is less than n and has no positive factor in common with nother than . If p is any prime number, then f(p) =

A)p-1
B)p-2
C)(p+1)/2
D)(p-1)/2
E)2
Tricky solution:

Let us take p = 2 (smallest prime)
Now number of positive integers less than p and has no common factor with p other than 1 is 1. So f(2) = 1

Only option A satisfies this result.

Mathematical Approach:

Note that a prime number will have common factors other than 1 only with its multiples like p², p³ etc. As p is always greater than 1, all multiples of p are greater than p. Hence, none of the integers less than p will have any common factor with p.

Thus, f(p) = Number of positive integers less than p = (p - 1)

The correct answer is A.
Anurag Mairal, Ph.D., MBA
GMAT Expert, Admissions and Career Guidance
Gurome, Inc.
1-800-566-4043 (USA)

Join Our Facebook Groups
GMAT with Gurome
https://www.facebook.com/groups/272466352793633/
Admissions with Gurome
https://www.facebook.com/groups/461459690536574/
Career Advising with Gurome
https://www.facebook.com/groups/360435787349781/
Join the discussion

by ZT » Thu Apr 05, 2012 6:37 am
Whoa, thank you for the speedy and awesome responses, guys! It all makes sense now.
Pharo wrote:Hey dude! I believe the question is missing a vital part :
The function f is defined for all postive integers n by the following rule: f(n) is the number of positive integers each of which is less than n and has no positive factor in common with n other than 1. If p is any prime number, then f(p) =
without "1"; the answer would be 0 :P
Great catch, Pharo. I've edited my original post to reflect the correct question. Hopefully it will help others who come across a similar problem.
Join the discussion