pseudo_gray_code (396B)
1 # Pseudo gray code 2 3 One possible meaning: like a [Gray_code] but you can flip constantly many bits at every step, not just one 4 5 If you want to flip exactly k bits at every step, then for parity reasons no code exists for even k, but a code exists for every odd k, cf 6 https://math.stackexchange.com/questions/482044/generalization-of-gray-codes 7 8 Up: [gray_code] 9 10 See also: [constant_weight_code]