Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.

See classes
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.

Newsweek Readers’ Choice Awards 2026 winner: Target Test Prep, #1 Test Prep

Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.

★★★★★5.0563 reviews
GMATLiveTeachStarts Nov 22
Josh Braslow, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Josh Braslow, 20+ years in test prep

Nov 22 · Josh Braslow
Sun · 9:30 AM to 12:30 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
EALiveTeachOnDemandStart anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

EXECUTIVE ASSESSMENT

with

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
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
GMATOnDemandStart 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

help

Expert replies
by sana.noor » Sun Jul 21, 2013 12:39 pm
How many 3 letter codes can be formed from the PEPPER with replacement.

a)6
b)18
c)19
d)20
e)36

OA is C
Work hard in Silence, Let Success make the noise.

If you found my Post really helpful, then don't forget to click the Thank/follow me button. :)
Join the discussion
Source: — Problem Solving |

by Brent@GMATPrepNow » Sun Jul 21, 2013 12:59 pm
sana.noor wrote:How many 3 letter codes can be formed from the PEPPER with replacement.

a)6
b)18
c)19
d)20
e)36

OA is C
There other other counting techniques we could use here, but the relatively small answer choices suggest that listing/counting might be the fastest approach.

Let's examine the different cases.

All 3 letters the same
Only possible with three P's
PPP (1 code)


2 letters the same, 1 different
- 2 P's and 1 R
RPP, PRP, PPR
(3 codes)

- 2 P's and 1 E
(3 codes)

- 2 E's and 1 P
(3 codes)

- 2 E's and 1 R
(3 codes)

All 3 letters different (1 P, 1 R and 1 E)
We can arrange 3 unique objects in 3! ways (6 ways)
(6 codes)

Add them up: 1+3+3+3+3+6 = [spoiler]19 = C[/spoiler]

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by vipulgoyal » Mon Jul 22, 2013 3:43 am
3p = 1, 2P1R = 3,2P1E= 3, 2E1R = 3, 2E1P =3,1P1R1E =6

3+3+3+3+1+6 = 19
Last edited by vipulgoyal on Tue Jul 23, 2013 12:39 am, edited 1 time in total.
Join the discussion

by satish_iitg » Mon Jul 22, 2013 9:19 am
Brent@GMATPrepNow wrote:
sana.noor wrote:How many 3 letter codes can be formed from the PEPPER with replacement.

a)6
b)18
c)19
d)20
e)36

OA is C
There other other counting techniques we could use here, but the relatively small answer choices suggest that listing/counting might be the fastest approach.

Let's examine the different cases.

All 3 letters the same
Only possible with three P's
PPP (1 code)


2 letters the same, 1 different
- 2 P's and 1 R
RPP, PRP, PPR
(3 codes)

- 2 P's and 1 E
(3 codes)

- 2 E's and 1 P
(3 codes)

- 2 E's and 1 R
(3 codes)

All 3 letters different (1 P, 1 R and 1 E)
We can arrange 3 unique objects in 3! ways (6 ways)
(6 codes)

Add them up: 1+3+3+3+3+6 = [spoiler]19 = C[/spoiler]

Cheers,
Brent
Dear Brent,

Can you please tell me why 6C3 is wrong.
Join the discussion

by Brent@GMATPrepNow » Mon Jul 22, 2013 9:40 am
satish_iitg wrote:
Dear Brent,

Can you please tell me why 6C3 is wrong.
There are two reasons why 6C3 (combinations) won't work here.

First, since the order of the 3 letters matters (e.g., the word PRE is different from the word REP) we cannot use combinations. We use combinations when the order does not matter (for example, we can select 3 friends from 6 friends in 6C3 ways).

Second, we have duplicated letters (three P's and two E's). To illustrate why duplicated letters messes things up, let's examine what would happen if the question were, "How many 3 letter codes can be formed from PPPPPP?" Here, we can see that 6C3 won't work because all of the letters are the same. In fact, there's only one 3-letter word we can create (PPP). In the same way, the duplicated letters in PEPPER make things trickier.

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by sarawutc » Mon Jul 22, 2013 9:46 am
I have a question... the question says "with replacement". Doesn't it mean that you can have 3Ps, 3Es, and 3Rs. I'm so confused.
Join the discussion

by Brent@GMATPrepNow » Mon Jul 22, 2013 9:59 am
sarawutc wrote:I have a question... the question says "with replacement". Doesn't it mean that you can have 3Ps, 3Es, and 3Rs. I'm so confused.
Yeah, I didn't like that phrase, so I just ignored it :-)
I have no idea what the author of the question intended, but you can be certain that an official GMAT question would never contain such ambiguity.

The question, as I read it, is asking asking us to choose 3 letters from PEPPER. So, for example, we can't have three R's.

If the question intended us to be able to use up to 3Ps, 3Es, and 3Rs, then it doesn't make any sense to mention "PEPPER." The question should have just asked, "If duplication is permitted, how many 3-letter codes can be formed using only P's, R's and E's?"

Of course, that still may have been the author's intention. We can't be sure.

Let's answer the question, "If duplication is permitted, how many 3-letter codes can be formed using only P's, R's and E's?"

Take the task of building 3-letter codes and break it into stages.

Stage 1: Select the first letter
We have 3 letters to choose from (P, E, or R), so we can accomplish stage 1 in 3 ways.

Stage 2: Select the second letter
We have 3 letters to choose from (P, E, or R), so we can accomplish stage 2 in 3 ways.

Stage 3: Select the third letter
We have 3 letters to choose from (P, E, or R), so we can accomplish stage 3 in 3 ways.

By the Fundamental Counting Principle (FCP) we can complete all 3 stages (and thus create a 3-letter code) in (3)(3)(3) ways ([spoiler]= 27 ways[/spoiler])

Cheers,
Brent

Aside: For more information about the FCP, we have a free video on the subject: https://www.gmatprepnow.com/module/gmat-counting?id=775
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by satish_iitg » Mon Jul 22, 2013 10:48 am
Thanks a lot Brent.
Join the discussion

by gocoder » Sun Dec 04, 2016 4:07 am
Brent@GMATPrepNow wrote:How many 3 letter codes can be formed from the PEPPER with replacement.

a)6
b)18
c)19
d)20
e)36

OA is C
We can arrange 3 unique objects in 3! ways (6 ways)

Cheers,
Brent[/quote]

If the Same question had asked to pick 3 letters without replacing, whether the answer would be 6 ?
Join the discussion

by Brent@GMATPrepNow » Sun Dec 04, 2016 2:42 pm
gocoder wrote:
Brent@GMATPrepNow wrote:How many 3 letter codes can be formed from the PEPPER with replacement.

a)6
b)18
c)19
d)20
e)36

OA is C
We can arrange 3 unique objects in 3! ways (6 ways)

Cheers,
Brent
If the Same question had asked to pick 3 letters without replacing, whether the answer would be 6 ?[/quote]

That alteration to the question would really complicate matters, enough to make it out of scope for the GMAT.
The answer would be more than 6 though (using just P's and E's, there are 7 possible arrangements).

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by Matt@VeritasPrep » Thu Dec 08, 2016 8:36 pm
Brent@GMATPrepNow wrote:Yeah, I didn't like that phrase, so I just ignored it :-)
I have no idea what the author of the question intended, but you can be certain that an official GMAT question would never contain such ambiguity.
Seconded! It's strange.

If I had to guess, I'd say it means something like this. Imagine that the six letters P, E, P, P, E, and R are in a jar. You're going to pick one out, write it down, then put that letter back in the jar. You're then going to pick again, write that letter down, etc.

So something like EEP or ERR or EEE would be a valid code (... and a valid response to the prompt :))
Join the discussion