from typing import List


def generate_pairs(number: int) -> List[List[int]]:
    """Generate all pairs of number sequence.

    Args:
        number: <int> the number

    Returns: <list> a sequence

    Examples:
        >>> assert generate_pairs(1) == [[0, 0], [0, 1], [1, 1]]
    """
    return [
        [top, inner]
        for top in range(number + 1)
        for inner in range(top, number + 1)
    ]