Binary repetition code (source code)

= Binary repetition code

The binary repetition code is $\{0^n,1^n\}$ and has parameters $[n,1,n]$.