login
A075931
List of codewords in binary lexicode with Hamming distance 5 written as decimal numbers.
11
0, 31, 227, 252, 805, 826, 966, 985, 1354, 1365, 1449, 1462, 1647, 1648, 1676, 1683, 6182, 6201, 6341, 6362, 6915, 6940, 7136, 7167, 7532, 7539, 7567, 7568, 7753, 7766, 7850, 7861, 10315, 10324, 10408, 10423, 11118, 11121, 11149, 11154
OFFSET
0,2
LINKS
J. H. Conway and N. J. A. Sloane, Lexicographic codes: error-correcting codes from game theory, IEEE Transactions on Information Theory, 32:337-348, 1986.
PROG
(PARI) a=vector(40); n=0; for (k=0, 11154, if (n==0 || vecmin(apply(o -> hammingweight(bitxor(k, o)), a[1..n]))>=5, print1 (a[n++]=k", "))) \\ Rémy Sigrist, Feb 09 2021
KEYWORD
nonn,base
AUTHOR
Bob Jenkins (bob_jenkins(AT)burtleburtle.net)
STATUS
approved