<s>
In	O
error	B-Error_Name
detection	I-Error_Name
and	I-Error_Name
correction	I-Error_Name
,	O
majority	B-Error_Name
logic	I-Error_Name
decoding	I-Error_Name
is	O
a	O
method	O
to	O
decode	O
repetition	B-Error_Name
codes	I-Error_Name
,	O
based	O
on	O
the	O
assumption	O
that	O
the	O
largest	O
number	O
of	O
occurrences	O
of	O
a	O
symbol	O
was	O
the	O
transmitted	O
symbol	O
.	O
</s>
<s>
In	O
a	O
binary	O
alphabet	O
made	O
of	O
,	O
if	O
a	O
repetition	B-Error_Name
code	I-Error_Name
is	O
used	O
,	O
then	O
each	O
input	O
bit	O
is	O
mapped	O
to	O
the	O
code	O
word	O
as	O
a	O
string	O
of	O
-replicated	O
input	O
bits	O
.	O
</s>
<s>
The	O
repetition	B-Error_Name
codes	I-Error_Name
can	O
detect	O
up	O
to	O
transmission	O
errors	O
.	O
</s>
<s>
Thus	O
,	O
assuming	O
bit-transmission	O
errors	O
are	O
independent	O
,	O
the	O
probability	O
of	O
error	O
for	O
a	O
repetition	B-Error_Name
code	I-Error_Name
is	O
given	O
by	O
,	O
where	O
is	O
the	O
error	O
over	O
the	O
transmission	O
channel	O
.	O
</s>
<s>
Calculate	O
the	O
Hamming	O
weight	O
of	O
the	O
repetition	B-Error_Name
code	I-Error_Name
.	O
</s>
