(New page: I'm a little confused about part a. I tried it in two different ways that both seemed right to me and got very different answers. I figured to count all 6-letter strings containing ''a'', ...)
 
Line 1: Line 1:
 +
== Part A ==
 +
 
I'm a little confused about part a. I tried it in two different ways that both seemed right to me and got very different answers. I figured to count all 6-letter strings containing ''a'', you could count all possible 6-letter strings and subtract the ones that do NOT contain ''a''. This should be <math>26^6-25^6=64,775,151</math>.
 
I'm a little confused about part a. I tried it in two different ways that both seemed right to me and got very different answers. I figured to count all 6-letter strings containing ''a'', you could count all possible 6-letter strings and subtract the ones that do NOT contain ''a''. This should be <math>26^6-25^6=64,775,151</math>.
  
 
Then, I thought to try it this way: suppose I first pick any 5 letters (in <math>26^5</math> ways). Then, to guarantee the string contains an ''a'', I can insert an ''a'' into this string at any of 6 places. So with this method, my answer is <math>(26^5)*6=71,288,256</math>. What am I doing wrong here?
 
Then, I thought to try it this way: suppose I first pick any 5 letters (in <math>26^5</math> ways). Then, to guarantee the string contains an ''a'', I can insert an ''a'' into this string at any of 6 places. So with this method, my answer is <math>(26^5)*6=71,288,256</math>. What am I doing wrong here?

Revision as of 09:24, 14 September 2008

Part A

I'm a little confused about part a. I tried it in two different ways that both seemed right to me and got very different answers. I figured to count all 6-letter strings containing a, you could count all possible 6-letter strings and subtract the ones that do NOT contain a. This should be $ 26^6-25^6=64,775,151 $.

Then, I thought to try it this way: suppose I first pick any 5 letters (in $ 26^5 $ ways). Then, to guarantee the string contains an a, I can insert an a into this string at any of 6 places. So with this method, my answer is $ (26^5)*6=71,288,256 $. What am I doing wrong here?

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett