A word is a combination of 8 letters, each either A or B. Let x and y be 2 words differing in exactly 3 places. How many words differ from each of x and y in atleast 5 places?
can someone plz explain how to goa bt this problem??
Hello, ramanujam!
If I interpret the problem correctly, the answer is EIGHT.A word is a combination of 8 letters, each either A or B.
Let x and y be 2 words differing in exactly 3 places.
How many words differ from each of x and y in at least 5 places?
and differ in exactly three places.
. . Which three places? .It doesn't matter.
Suppose they differ in their first three letters.
They may look like this:
. . . . .
The word cannot differ from and in the first three places.
. . The first three places can filled in: ways.
The last five letters of must be the opposites of those in and .
. . There is one way to do this.
Therefore, there are ways that can differ from and
. . in at least five digits.
What about this z?
ABAAAAAA=x
BABAAAAA=y
AABBABBB=z
It differs from each of x & y in at least five places.
Was that z counted?
P.S.
This is a postscript.
I know that the answer is 38.
But I confess that I do not know how to prove it.
Logic tells me that the answer is (8)(6).
I do not know where the overcount of 10 comes in.
Ramanujam, I just was over thinking this problem. Let’s use Soroban’s example.
. . . . .
In addition to the eight he found, there are thirty more.
Here is how to find them. Say
ABAAAAAA=x
BABAAAAA=y
Change exactly one of the red letters and four of the others in the same srting.
For example: ABBABBBB=z.
Now z differs from each of x & y by in at least five places.
There are thirty ways to do that: (6)(5)=30.
Maybe my interpretation is off . . .
I understood it to mean:A word is a combination of 8 letters, each either A or B.
Let and be two words differing in exactly 3 places.
How many words differ from each of and in at least 5 places?
Given an and a which differ in exactly 3 places,
. . how many 's are there that differ from both and
. . in at least five places?
So we could have:
. . .where the 's indicate matching letters
Since the first place of and have both A and B,
. . it is impossible for the first place of to differ from both of them.
The same is true for the second and third places.
Hence, the only way for to differ from both and
. . is in the last five places.
So the last five places of is the "complement" of .
. . And the first three places can be any of: three-letter "words".
Therefore, there are 8 z's . . . for the given and .
Now, if you wish to make: .
. . then there are still 8 z's that differ from both and is at least 5 places.
And that is my interpretation of the word "each".
If you have six cards in your hand, then do have at least five cards? The common understanding in mathematics is that the answer to that question is yes.
If the letter string, z, differs from x in five places and z differs from y in six places, then z differs from each of x & y in at least five places. Isn’t that the common understanding?
The questioner has already said that the answer is 38.
ABAAAAAA=x
BABAAAAA=y
Change exactly one of the red letters and four of the others in the same srting.
For example: ABBABBBB=z.
Now z differs from each of x & y by in at least five places.