
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
Given that the sequence $\{a_{n}\}$ is an arithmetic sequence with a non-zero common difference, $a_{2}=3$, and $a_{3}$, $a_{5}$, $a_{8}$ form a geometric sequence.<br/>$(1)$ Find the general formula for the sequence $\{a_{n}\}$;<br/>$(2)$ Let ${b}_{n}={a}_{n}\cos\frac{π{a}_{n}}{2}$, find the sum of the first $2023$ terms of the sequence $\{b_{n}\}$.

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