def next_collatz(number):
    """
    Get the next number in a collatz series.

    :param number: The previous number in the collatz series.

    :returns: The next number in the collatz series.
    """
    if number % 2 == 0:
        number = number // 2
    else:
        number = (3 * number) + 1
    return number