Ask your own question, for FREE!
Mathematics 19 Online
OpenStudy (anonymous):

Combinatorics: What are the total number of ways that a string of length n can be formed if it consists of letters and must contain an even number of x's.

OpenStudy (experimentx):

can you explain a bit?

OpenStudy (anonymous):

string is of any length, contains letters, and must contain an even number of x's, meaning 0 x's is still okay

OpenStudy (anonymous):

how many possible strings of length n can be formed given those rules

OpenStudy (experimentx):

looks pretty difficult

OpenStudy (anonymous):

the professor asks for a recursive definition, not exact formula, so (n-1) applies if we have the base cases.

OpenStudy (experimentx):

if n is even then, |dw:1343154558467:dw|

OpenStudy (anonymous):

I think it has to do with adding an x to a bad string and adding another letter to a good string, therein lies a recursive definition.

OpenStudy (experimentx):

i guess it's better to try it without x's first.

OpenStudy (experimentx):

if n<26, 26Cn what if n>26 ??

OpenStudy (experimentx):

oh ... even this is incorrect. we are able to choose any letter any number of times right!!

OpenStudy (anonymous):

yes

OpenStudy (experimentx):

for x < 26, \[ \sum_{n=1}^{26} \binom{26}{n}\binom{x}{n}\]

OpenStudy (experimentx):

seems this is incorrect too.

OpenStudy (anonymous):

number of bad strings are those strings with an odd number of x's

OpenStudy (anonymous):

very puzzling

OpenStudy (experimentx):

this should work out for string of length less than 26 \sum_{n=1}^{x} \binom{26}{n}\binom{x}{n}

OpenStudy (experimentx):

\[ \sum_{n=1}^{x} \binom{26}{n}\binom{x}{n}\]

OpenStudy (anonymous):

it should be easier than this, as the definition needs to be recursive, and base cases are easy to determine, maybe I'll chart possibilities up to 5 and see what it looks like

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!