Gprep - permutation n combination

This topic has expert replies
Source: — Problem Solving |

Master | Next Rank: 500 Posts
Posts: 151
Joined: Tue May 13, 2008 7:04 pm
Location: dallas,tx usa
Thanked: 6 times

26^4(27)

by ektamatta » Mon Jun 30, 2008 3:32 pm
If it is a 4 letter code:

26 x 26 x 26 x 26 (Since the letters don’t have to be distinct. You are selecting from the same pool of 26 each time).

Similarly, for a 5 letter code:

26 x 26 x 26 x 26 x 26

=> Total = 26^5 + 26^4
= 26^4 (26 + 1) 26^4 is common
= 26^4(27)