Monotonic grey code representations of numbers

Hi all, I suddenly went down the “HTM Encoding with Grey Codes?” rabbit hole about a month ago, and ended up here:

thanks.