Hi, I have found some examples online of ternary sequences but still don't understand how to do
how many r-digit ternary sequences are there with:
a) and even # of 0s?
b) and even # of 0s and even # of 1s?
c) at least one 0 and at least one 1?
thanks for any help
If the previous reply was late then this one is really, really late, but I can't resist applying some exponential generating functions to these problems. I don't know Dixie's background, so he/she may not be able to follow the generating functions, but maybe the final answers will be useful anyway. In what follows, is the number of r-digit ternary sequences and is the associated exponential generating function.
I haven't attempted to figure out if the answers to a) and b) are actually different than Plato's answers, or simply the same answers written in a different form.