Let's develop Python functions to map between a point on a Hilbert walk in D dimensions, and an integer we'll call the index of the point, so that, e.g., int_to_Hilbert( i, 3 ) ==> ( x, y, z ) Hilbert_to_int( ( x, y, z ) ) ==> i Here ( x, y, z ) is a Python tuple. There's an appendix on some Python details below. [Wikipedia] shows code for the two-dimensional mapping. [Butz] and later [Lawder], [M