
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
For the sequence \( \{a_{n}\} \) with the general term \( a_{n} = \tan n \cdot \tan (n-1) \), if for any positive integer \( n \), it holds that \( a_{1} + a_{2} + \cdots + a_{n} = A \tan n + B n \), then find the values of \( A \) and \( B \).

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