Help for combinatorial question?

  • Thread starter Thread starter erogol
  • Start date Start date
erogol
Messages
14
Reaction score
0
a "codeword" from the alphabet A={0,1,2,3) is said to be legitimate if it contains even number of zeros. Thus for instance the codeword 31020 is legitimated and 0002 is not. How many n - letter codewords are legitimated ?
 
Physics news on Phys.org
erogol said:
a "codeword" from the alphabet A={0,1,2,3) is said to be legitimate if it contains even number of zeros. Thus for instance the codeword 31020 is legitimated and 0002 is not. How many n - letter codewords are legitimated ?

Hi erogol! :wink:

Show us what you've tried, and where you're stuck, and then we'll know how to help! :smile:
 
i have no sense to solve it i just know answer is 2^(2n-1) + 2^n -1
 
erogol said:
i have no sense to solve it i just know answer is 2^(2n-1) + 2^n -1

ok, start by making a sum over all possible (even) numbers of 0s …

the total number of legitimated words is ∑ what ? :smile:
 
So you are not even going to try?
 
HallsofIvy said:
So you are not even going to try?

Are you talking to me? :biggrin:
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top