Willelm said:
If god 1 don't answer, he isn't the random god becouse he can't answer the truth or the lie of something that he can't know! He can't know what random god will answer to question Q in that moment if he's not random-god. Is mathematical!
Okay, fine.
Assume god 1 does not answer. Now you have four cases left:
Truth, Random, Lie
Truth, Lie, Random
Lie, Random, Truth
Lie, Truth, Random
... and no question can distinguish between the four cases.Here is a solution with your protocol to handle random. A key question is "Do you lie?" where both Truth and Lie will reply with "no", but Random's answer is unknown to the other two:
Ask god 1: "If I ask God 2 'Do you lie?', what would be its answer?"
1) Truth, Random, Lie -> no answer
2) Truth, Lie, Random -> god 2 would answer "no", so 1 will report "no".
3) Lie, Random, Truth -> no answer
4) Lie, Truth, Random -> god 2 would answer "no", so 1 will report "yes".
5) Random, Truth, Lie -> random answer
6) Random, Lie, Truth -> random answer
If we get no answer, god 2 is random and only cases 1 and 3 are left. We can ask god 1 "are there three gods here?" or any other trivial question to see if it lies.
If we get the answer "yes", we have cases 4, 5 and 6 left. The same trick works again: Ask god 2 ""If I ask God 3 'Do you lie?', what would be its answer?"
-- case 4: Truth does not now the answer and does not reply.
-- case 5: Lie would answer "no", so Truth reports "no".
-- case 6: Truth would answer "no", so Lie reports "yes".
If we get the answer "yes", we have cases 2, 5 and 6 left. Ask the same questions as with "no", with the same analysis.