The code

Recursive, bitwise, iterative