Question

Consider the set of words of length n over the 3-letter alphabet {0,1,2} a) Prove that...

Consider the set of words of length n over the 3-letter alphabet {0,1,2}

a) Prove that the number of such words with an even number of 0’s is (3^n+1)/2 and the number of such words with an odd number of 0’s is (3^n-1)/2. (Hint: Try a proof by induction.)

b) Prove that C(n,0)*2^n+C(n,1)2^(n-2)+C(n,4)2^(n-4)+....+C(n,q)2^(n-q)=(3^n+1)/2.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

conndes the set- op aoods of Leng汏n over he 3-lotea alphabet fo, ,23 (a) the no-ewdoith on 2 2- The no-o .coosdg with an odd

Add a comment
Know the answer?
Add Answer to:
Consider the set of words of length n over the 3-letter alphabet {0,1,2} a) Prove that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT