--- from: http://rosettacode.org/wiki/Van_der_Corput_sequence