Path: blob/main/course-contents/notebooks/2024-02-22--perfect.ipynb
469 views
Kernel: Python 3 (ipykernel)
In [1]:
Let be a code of minimal distance and set ; so that "corrects up to errors".
is perfect if
For this to hold, of course, we must have .
Let's see some possibilities:
In [19]:
In [20]:
Out[20]:
[1, 2, 5, 90]
In fact, there is no perfect binary code of length 90 with .
In [23]:
Out[23]:
[1, 2, 3, 7, 23]
In [21]:
Out[21]:
[1, 2, 11]