3n + 1 challenge with enhancement