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.

GmatPrep?? (function)

Expert replies
Source: — Problem Solving |

Re: GmatPrep?? (function)

by parallel_chase » Wed Sep 03, 2008 4:20 pm
dferm wrote:Help Please!!!
f(n) = number of positive integers less than n, no factor with n except 1

f(6) = 1,5 i.e. 1 number
f(8) = 1,3,5,7 i.e. 3 numbers

p is a prime number

f(p)

f(7) = 1,2,3,4,5,6 i.e. 6 numbers 7-1 = 6 (p-1)
f(13) = 1,2,3,4,5,6,7,8,9,10,11,12. i.e 12 numbers 13-1 = 12 (p-1)

Hence answer is p-1.

Hope this helps.
Last edited by parallel_chase on Wed Sep 03, 2008 7:25 pm, edited 1 time in total.
Join the discussion

by dferm » Wed Sep 03, 2008 7:11 pm
I don't quite the logic
Join the discussion

by parallel_chase » Wed Sep 03, 2008 7:17 pm
dferm wrote:I don't quite the logic
f(p)
p=7
f(7) = 1,2,3,4,5,6 , total numbers = 6
p-1
7-1=6

p=13
f(13) = 1,2,3,4,5,6,7,8,9,10,11,12, total numbers = 12
p-1
13-1=12

Let me know which part you are not able to understand.
Last edited by parallel_chase on Wed Sep 03, 2008 7:26 pm, edited 1 time in total.
Join the discussion

by dferm » Wed Sep 03, 2008 7:23 pm
f(n) = number of positive integers less than n, no factor with n except 1


This is the part i don't understand............
Join the discussion

by Fab » Wed Sep 03, 2008 7:26 pm
Why are you not considering 1 ??

F(7): 6, 5, 4, 3, 2 , 1... ???

THANKS
Join the discussion

by parallel_chase » Wed Sep 03, 2008 7:27 pm
Fab wrote:Why are you not considering 1 ??

F(7): 6, 5, 4, 3, 2 , 1... ???

THANKS
You are right 1 should be considered, answer should be p-1.
Join the discussion

by Fab » Wed Sep 03, 2008 7:30 pm
Now is clear.

THANKS.
Join the discussion

by Ian Stewart » Wed Sep 03, 2008 7:31 pm
The key to the problem is decoding the language here:

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.

and understanding what a prime number is. Start with an example- what is f(2)? f(2) is the number of positive integers less than 2 (there's only one of those- 1) which have no divisor in common with 2 besides 1. Does 1 have no divisor in common with 2 besides 1? Yes, of course. So f(2) = 1. You could now just plug p=2 into each answer choice to find that p-1 must be correct.

In general, if p is prime, then p has no positive divisors besides 1 and p. So p cannot share a divisor besides 1 with any number less than p. That is, all p-1 positive integers (1, 2, 3, ..., p-2, p-1) less than p cannot share a divisor larger than 1 with p, and will all be counted by f(p). So the answer is p-1.
For online GMAT math tutoring, or to buy my higher-level Quant books and problem sets, contact me at ianstewartgmat at gmail.com

ianstewartgmat.com
Join the discussion