What is the Hilbert curve's equation?! In the question linked, there is a formula for Hilbert Curve. It involves $e_{kj}$ and $d_j$ terms. It says that $e_{kj}$ denotes number of k's preceding $q_j$ and $d_j \equiv e_{0j} + e_{3j} \text{ (mod 2)}$.
Can someone clearly explain how to find $e_{kj}$? And to find $d_j$ do you take modulo of the sum or modulo of $e_3j$?