Cut the question down to size by picking a value of p:
Suppose p=5
f(p) is defined as the number of positive integers less than p that do not have any prime factors in common with 5. Since no positive integer less than 5 is a multiple of 5, f(5) = 4 i.e. 5 - 1
A
BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course
Redeem
Target Test Prep GMAT OnDemand
Scott Woodbury-Stewart’s private virtual classroom — 400 hours of master-class video lessons for the GMAT Focus Edition.
- 715+ score guarantee — highest in the industry (99th percentile)
- 52 chapters · 1,500+ lessons · 4,000+ practice questions
- 400 hours of video · 1,500+ instructor-led HD smartboard lessons
- 300,000+ students accepted to Harvard, Stanford, Wharton, Booth & Sloan & more
- 24/7 live support + weekly Zoom office hours with GMAT instructors
- TTP AI Assist — 24/7 AI-powered virtual tutor for instant help
- 1,200+ flashcards + AI-powered study assistant & daily calendar
- OnDemand, LiveTeach & GMAT Bootcamp formats available
- Also: GRE, SAT Math & Executive Assessment courses
- MBA Admissions Consulting now available
- 🏆 2025 EdTech Breakthrough Award: Test Prep Solution Provider of the Year
- 200,000+ students served
- 5-day free trial — $0 to start, no auto-billing, cancel anytime
★★★★★
5.0
(559 reviews)
130-pt guarantee
$0 to start
then $127/mo
No of positive Integers
Source: Beat The GMAT — Problem Solving |
reasoning is f(n)= all no. less then n and having no factors common with n
i.e if n=8 ; f(n)=1,3,5,7
if n=p ( a prime no.)= say 7
f(p)=1,2,3,4,5,6[tot=6] ( as none has common factor with7 and since its a prime no. it will not have any factor apart from 1 and the no. it self)
hence for all p's ; f(p)=p-1
i.e if n=8 ; f(n)=1,3,5,7
if n=p ( a prime no.)= say 7
f(p)=1,2,3,4,5,6[tot=6] ( as none has common factor with7 and since its a prime no. it will not have any factor apart from 1 and the no. it self)
hence for all p's ; f(p)=p-1

















