of heaps of stones, in which each move consists of replacing any one heap by at most d − 1 smaller heaps, and the goal is to take the last stone. Notes External links Bob Jenkins table of binary lexicodes On-line generator for lexicodes and their variants Error-Correcting Codes on Graphs: Lexicodes, Trellises and Factor Graphs Error detection and correction