B-2 (vectors): hack version, using binary numbers.
B-2 (vectors): proper version, using recursive generators.