def fizzbuzz(n):
    """Return a sequence up to "n" using the fizzbuzz rule."""
    result = []
    for i in range(1, n + 1):
        if i % 3 == 0 and i % 5 == 0:
            value = "fizzbuzz"
        elif i % 3 == 0:
            value = "fizz"
        elif i % 5 == 0:
            value = "buzz"
        else:
            value = str(i)
        result.append(value)
    return result