EVE / DID = .TALKTALKTALK....
Each letter stands for a different consistent digit, zero included. The fraction is in its lowest form. The decimal has a repeating period of 4 digits. The solution is unique.
No claim for originality by the way

re'born wrote:But if E = 1, then 33 * EVE < 33 * 200 < 1000 < TALK, a contradiction. So E = 2.
Triple click below to see what I wrote:EVE/DID = .TALKTALKTALK... = TALK/9999, where EVE/DID is a fully-reduced fraction
=> EVE * M = TALK, DID * M = 9999 = 3*3*11*101 where M is a +ve integer
Also, TALK < 9999 => EVE < DID => E < D => D is at least 1 => DID > 100
If M is a multiple of 101, DID = 9999 / M is at most 99 => contradiction
Therefore M is not a multiple of 101 => DID must be a factor of 9999 which is divisible by 101
Hence DID = 101|303|909, M = 99|33|11
If DID = 101, M = 99 => (E < D) E = 0 = I, contradiction
If DID = 909, M = 11 => EVE * 11 = TALK => E = K, contradiction
Therefore DID = 303, M = 33 => (E < D) E = 1 or 2
If E = 1 => TALK = EVE * 33 = (101 + 10 * V) * 33 => K = 3 = D, contradiction
Therefore E = 2
Now we have TALK = EVE * 33 = (202 + 10 * V) * 33 = 6666 + 330 * V
=> K = 6, TAL = 666 + 33 * V where V, T, A, L must be from {145789}
Since TAL > 666, T must be one of {789} => 33 * V > TAL - 666 > 700 - 666 = 34 => V > 1
Focusing on the last digit, we have 3 * V + 6 = 10 * N + L where N is an integer
Also, V and L must be different digits with V from {45789} and L from {145789}
If V = 7, L = 7 => contradiction
If V = 8, L = 0 => contradiction
If V = 9, L = 3 => contradiction
Therefore V = 4 or 5
If V = 5, TAL = 666 + 33 * 5 = 666 + 165 = 831 => A = 3 = D => contradiction
Therefore V = 4 => TAL = 666 + 33 * 4 = 666 + 132 = 798
"EVE/DID = .TALKTALKTALK..." is thus "242/303 = .798679867986..."
udosuk wrote:re'born wrote:But if E = 1, then 33 * EVE < 33 * 200 < 1000 < TALK, a contradiction. So E = 2.
33 * 200 = 6600 < 1000 ?!
I have to scratch my eyes 3 times to think about if I've gone blind or insane.
Otherwise an excellent analysis, well done re'born.
Triple click below to see what I wrote:
6210001000
The key observation for me was to note that the sum of digits must be 10. This immediately implies that for n>=5, then the number in the nth position (I label the positions as the 0th through 9th positions) is either 0 or 1. From here I noted that if 1 occurs in the nth-position , then this will imply a sum of digits of at least 1 + n + n*r, where r is the position in which n lays. If we can deduce that r<>1, then we get a sum of digits at least 4 + n + n*r.
For n >= 5, If a 1 occurs in the nth position, then 10 >= 1 + n + n*r >= 6 + n*r => r = 0. In particular, r<>1. Hence we get 10 >= 4 + n. So, this means that the digits in the 7,8 and 9 positions are 0.
Let n denote the largest position containing a non-zero entry.
For n <= 4, the number of 0's is greater than or equal to 5, meaning that we must have a position greater than or equal to 5 with a 1, contradicting the maximality of n.
Now, for n = 5, the above shows we are in the situation
5 _ _ _ _ 1 0 0 0 0
We are now only allowed one more 0, but then we will get at least one of three of the numbers {1,2,3,4}, an impossibility.
So n = 6, and by the above, we have a 6 in the zero position, so our number looks like
6 _ _ _ _ _ 1 0 0 0
The 1 in the 6th position implies that the number in the 1st position is at least 2, so the 3rd, 4th and 5th positions must be 0, giving
6 _ _ 0 0 0 1 0 0 0, where the number in the 1st position is at least 2.
The only way to finish it is to make the 2nd position a 1 and the 1st position a 2, giving the solution
6 2 1 0 0 0 1 0 0 0
Therefore 6 2 1 0 0 0 1 0 0 0 is the unique solution.
brute forceTriple click below to see what I wrote:n=2 : no sol.
n=3 : no sol.
n=4 : 1210 ; 2020 (2 sol.)
n=5 : 21200
n=6 : no sol.
n=7 : 3211000
n=8 : 42101000
n=9 : 521001000
n=10: 6210001000
A=5, B=2, C=3, D=4, E=1
Proof:
Note that each of A,B,C,D gave different answer for everybody. Hence none of them could have told the truth exactly 4 times. So E=1. Let's draw a table, where a plus after a number indicates true, and a minus false. Since E=1, anybody who said that is telling the truth and anyone who said either that E<>1, or that someone else is 1 is lying:
- Code: Select all
A B C D E
A| 4 5 1- 2 3-
B| 5 4 3 2 1+
C| 1- 5 3 4 2-
D| 1- 5 2 4 3-
Since B told the truth, A,C and D must be lying about B.
- Code: Select all
A B C D E
A| 4 5- 1- 2 3-
B| 5 4 3 2 1+
C| 1- 5- 3 4 2-
D| 1- 5- 2 4 3-
Now all 3 of A,C and D have lied at least 3 times, so B=2. Updating the chart, we get:
- Code: Select all
A B C D E
A| 4 5- 1- 2- 3-
B| 5 4- 3 2- 1+
C| 1- 5- 3 4 2-
D| 1- 5- 2- 4 3-
Since B tells the truth 3 times, he must be telling the truth when he says A=5 and C=3. This leaves D=4.
Triple click below to see what I wrote:E had went home early. There's two possible reasons for this: either he didn't drink enough to get in the mood, or he drank too much and his friends decided to put him in a cab. However, the landlord said that nobody had had more than 5 pints, which wouldn't be enough to get him in such a bad condition that he would have had to leave => E had 1.
Now there's a little problem. I can see that you are from the UK. In the pubs there you have a strong tradition of buying rounds, which means that all of the remaining people must have had the same amount of pints. The most logical solution is that that the teetotaller must have smoked too many tea leaves to remember exactly what had happened. As you mentioned, this happened in the 70s...
As all of A, B, C and D must have had the same amount of pints and they all mentioned different amounts for all party members, the only possible solution would be that they all drank four (tell the truth once for the person who they claim has had four), but as B also says that E had one, this solution cannot be correct. We may conclude that the landlord was not only a tea smoking junkie, he was a pathological liar. Very odd behaviour from a landlord...
So, to satisfy the equation, either E didn't drink any beer at all or he had more than one. If he didn't drink at all, his friends would certainly have remembered that, so that option is ruled out. If he had more than one, then he would have got into the party mood and wouldn't have left and should still be there somewhere. If he still was there and they were going on the fourth round, then he would have been sitting together with his friends drinking beer.
The only logical solution that also explains the strange behaviour of the landlord is thus: All of them had had more than five pints. E had not left, you were E, but in your drunken condition you couldn't remember who you are and you couldn't understand at all what the landlord (who in fact was a police officer) was saying.