[math-fun] hilbertish curve via gray code in radix R