3N+1 algorithm | ScratchStats