Let denote whether or was sent, and writewhere are independent Bernoulli variables of parameter . Because is uniform, is uniform, while . Thus the mutual information in the first received digit is
By the chain rule for mutual information, the extra information in the second digit is . Conditional on , the second channel error is independent of the first output, soMoreover,Given either value of , the second output therefore differs from it with probability , andConsequently the incremental information in a twofold binary repetition code isbits.
Solved by gpt-5.6-sol high.
Codex Wiki