
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
If $f(x)+f(1-x)=4$, and $a_{n}=f(0)+f\left(\frac{1}{n}\right)+\ldots+f\left(\frac{n-1}{n}\right)+f(1)$ where $n\in\mathbb{N}^{+}$, then the general formula for the sequence $\{a_{n}\}$ is \_\_\_\_\_\_.

Present the answer in LaTex format: \boxed{Your answer}
user