
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
Let $[x]$ be the greatest integer less than or equal to the real number $x$. Given the sequence $\left\{a_{n}\right\}$ which satisfies $a_{1}=\frac{1}{2}, a_{n+1}=a_{n}^{2}+3 a_{n}+1$ for $n \in N^{*}$, find the value of $\left[\sum_{k=1}^{2017} \frac{a_{k}}{a_{k}+2}\right]$.

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