# of ways a 4 digit code can be created is 26^4.
(ie. 26 ways for each digit => 26*26*26*26.)
Similarly # of ways a 5 digit code can be created is 26^5
Since it is an OR, we add these two
26^4 + 26^5
= 26^4(1 + 26)
= 27 * 26^4
So B is the answer
4 or 5 digit code with alphabet
This topic has expert replies
Source: Beat The GMAT — Problem Solving |
-
vittalgmat
- Legendary Member
- Posts: 621
- Joined: Wed Apr 09, 2008 7:13 pm
- Thanked: 33 times
- Followed by:4 members
-
vittalgmat
- Legendary Member
- Posts: 621
- Joined: Wed Apr 09, 2008 7:13 pm
- Thanked: 33 times
- Followed by:4 members
# of ways a 4 digit code can be created is 26^4.
(ie. 26 ways for each digit => 26*26*26*26.)
Similarly # of ways a 5 digit code can be created is 26^5
Since it is an OR, we add these two
26^4 + 26^5
= 26^4(1 + 26)
= 27 * 26^4
So B is the answer
(ie. 26 ways for each digit => 26*26*26*26.)
Similarly # of ways a 5 digit code can be created is 26^5
Since it is an OR, we add these two
26^4 + 26^5
= 26^4(1 + 26)
= 27 * 26^4
So B is the answer












