def params_linear_and_squares(factors):
    """Index tuples for the linear_and_squares production function."""
    names = factors + [f"{factor} ** 2" for factor in factors] + ["constant"]
    return names