If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p?
A. 10
B. 12
C. 14
D. 16
E. 18
A. 10
B. 12
C. 14
D. 16
E. 18
BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course
RedeemTarget Test Prep · GMAT
Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

with Chris Peckover, 100th-Percentile GMAT Scorer
Self-paced EA prep. Study on your schedule.

with Logan Thompson
Complete access from day one. Study on your schedule.
Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.
p = 1*2*3*...*29*30 = 30!diehard_gmat wrote:If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p?
A. 10
B. 12
C. 14
D. 16
E. 18
I got up to 30!, but then I didn't know what to do. 30! is such a huge number. How were you able to tell that the question wants to know the number of integers within 1 though 30 that has only one factor of three?Anurag@Gurome wrote:p = 1*2*3*...*29*30 = 30!diehard_gmat wrote:If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p?
A. 10
B. 12
C. 14
D. 16
E. 18
The problem is basically asking us to find the number of 3's in p.
Now all the multiples of 3 (3, 6, ... , 30) has one 3 in them.
Number of multiples of 3 within 30 = 10
But 9 and 18 each has one extra 3 in them and 27 has two extra 3 in it.
Hence, total number of 3's in p = 10 + 1 + 1 + 2 = 14
The correct answer is C.
diehard_gmat wrote:If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p?
A. 10
B. 12
C. 14
D. 16
E. 18
New here Create free account