4 or 5 digit code with alphabet

This topic has expert replies
Source: — Problem Solving |

Legendary Member
Posts: 621
Joined: Wed Apr 09, 2008 7:13 pm
Thanked: 33 times
Followed by:4 members

by vittalgmat » Fri Oct 03, 2008 8:20 pm
# 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

Legendary Member
Posts: 621
Joined: Wed Apr 09, 2008 7:13 pm
Thanked: 33 times
Followed by:4 members

by vittalgmat » Fri Oct 03, 2008 8:20 pm
# 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

User avatar
Legendary Member
Posts: 871
Joined: Wed Aug 13, 2008 7:48 am
Thanked: 48 times

by stop@800 » Sat Oct 04, 2008 3:07 am
Yes B should be the OA

26^4 + 26^5