
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
A polynomial of degree 3n has the value 2 at 0, 3, 6, ... , 3n, the value 1 at 1, 4, 7, ... , 3n-2, and the value 0 at 2, 5, 8, ..., 3n-1. Its value at 3n+1 is 730. What is n?

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