The Secret Arithmetic of Patterns: A General Method for Designing Constrained Codes Based on Lexicographic Indexing | IEEE Journals & Magazine | IEEE Xplore