- cuirously, I had planned to post about Fractran in advance (before you followed me) but looked up the original source of the program just today – and it turned out to be your blog! The mathematical world is soooo small.
The Hamming weight is the number of \(1\)s in the binary expansion of a number. Thus, \(H(3) = H(11_2) = 2\).