GMAT Question of the Day - Daily to your Mailbox; hard ones only

 It is currently 16 Oct 2019, 00:11

### GMAT Club Daily Prep

#### Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History

# What is the greatest integer p, for which 3^p is a factor of 21! ?

Author Message
TAGS:

### Hide Tags

Math Expert
Joined: 02 Sep 2009
Posts: 58364
What is the greatest integer p, for which 3^p is a factor of 21! ?  [#permalink]

### Show Tags

21 Mar 2018, 05:44
00:00

Difficulty:

15% (low)

Question Stats:

75% (00:44) correct 25% (01:05) wrong based on 88 sessions

### HideShow timer Statistics

What is the greatest integer p, for which 3^p is a factor of 21! ?

(A) 8
(B) 9
(C) 10
(D) 11
(E) 12

_________________
SVP
Joined: 26 Mar 2013
Posts: 2345
Re: What is the greatest integer p, for which 3^p is a factor of 21! ?  [#permalink]

### Show Tags

21 Mar 2018, 05:46
1
2
Bunuel wrote:
What is the greatest integer p, for which 3^p is a factor of 21! ?

(A) 8
(B) 9
(C) 10
(D) 11
(E) 12

$$\frac{21}{3}$$+$$\frac{21}{9}$$=7 +2 =9

P = 9

Senior PS Moderator
Joined: 26 Feb 2016
Posts: 3344
Location: India
GPA: 3.12
What is the greatest integer p, for which 3^p is a factor of 21! ?  [#permalink]

### Show Tags

21 Mar 2018, 11:04
Bunuel wrote:
What is the greatest integer p, for which 3^p is a factor of 21! ?

(A) 8
(B) 9
(C) 10
(D) 11
(E) 12

To get the greatest integer p, for which $$3^p$$ is a factor of 21!
we need to find how many 3's are there in 21!

3(1), 6(1), 9(2), 12(1), 15(1), 18(2), 21(1)

Total : 1+1+2+1+1+2+1 = 9
Therefore, the greatest value of p is 9(Option B)
_________________
You've got what it takes, but it will take everything you've got
Target Test Prep Representative
Affiliations: Target Test Prep
Joined: 04 Mar 2011
Posts: 2817
Re: What is the greatest integer p, for which 3^p is a factor of 21! ?  [#permalink]

### Show Tags

22 Mar 2018, 15:40
1
Bunuel wrote:
What is the greatest integer p, for which 3^p is a factor of 21! ?

(A) 8
(B) 9
(C) 10
(D) 11
(E) 12

To determine the number of factors of 3 within 21!, we can use the following shortcut in which we divide 21 by 3, and then divide the quotient of 21/3 by 3 and continue this process until we can no longer get a nonzero integer as the quotient.

21/3 = 7

7/3 = 2 (we can ignore the remainder)

Since 2/3 does not produce a nonzero quotient, we can stop.

The final step is to add up our quotients; that sum represents the number of factors of 3 within 21!.

Thus, there are 7 + 2 = 9 factors of 3 within 21!.

_________________

# Jeffrey Miller

Jeff@TargetTestPrep.com
122 Reviews

5-star rated online GMAT quant
self study course

See why Target Test Prep is the top rated GMAT quant course on GMAT Club. Read Our Reviews

If you find one of my posts helpful, please take a moment to click on the "Kudos" button.

e-GMAT Representative
Joined: 04 Jan 2015
Posts: 3074
Re: What is the greatest integer p, for which 3^p is a factor of 21! ?  [#permalink]

### Show Tags

26 Mar 2018, 09:38

Solution:

Given:

• $$p$$ is an integer

• $$3^p$$ is a factor of $$21!$$

Working out:

We need to find the greatest value of “p

Since $$3^p$$is a factor of $$21!$$, and we need to find out the greatest integer p, it can be inferred that 3^(p+1) is not a factor of p.

• We need to calculate the number of 3s in 21!
Since all the numbers in 21! is in the multiplicative form, the powers of 3 will be added.

• Multiples of 3 in 21! are: 3, 6, 9, 12, 15, 18, 21.

o All the above 7 numbers have at least one 3 in them. However, 9 and 18 contain two 3s in them.

o Thus, the total number of 3s in 21! = 7+2 =9

Hence $$3^9$$ is a factor of $$21!$$ but $$3^{10}$$ is not.

Thus, the greatest integer value of p is 9

_________________
Retired Moderator
Joined: 27 Oct 2017
Posts: 1256
Location: India
GPA: 3.64
WE: Business Development (Energy and Utilities)
Re: What is the greatest integer p, for which 3^p is a factor of 21! ?  [#permalink]

### Show Tags

26 Mar 2018, 09:50
To find the highest power of a prime number (x) in a factorial (N!), continuously divide N by x and add all the quotients.

Here it is calculated as 21/3 +7/3 +2/3 = 7+ 2+0 = 9.
_________________
Senior Manager
Joined: 20 Mar 2018
Posts: 370
Location: Ghana
Concentration: Finance, Real Estate
Re: What is the greatest integer p, for which 3^p is a factor of 21! ?  [#permalink]

### Show Tags

02 Apr 2018, 15:42
gmatbusters wrote:
To find the highest power of a prime number (x) in a factorial (N!), continuously divide N by x and add all the quotients.

Here it is calculated as 21/3 +7/3 +2/3 = 7+ 2+0 = 9.
Nice approach

Sent from my iPhone using GMAT Club Forum mobile app
Re: What is the greatest integer p, for which 3^p is a factor of 21! ?   [#permalink] 02 Apr 2018, 15:42
Display posts from previous: Sort by