
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
In the geometric sequence $\{a_n\}$, $a_n > 0$ ($n \in \mathbb{N}^*$), the common ratio $q \in (0, 1)$, and $a_1a_5 + 2a_3a_5 + a_2a_8 = 25$, the geometric mean of $a_3$ and $a_5$ is 2.
1. Find the general formula of the sequence $\{a_n\}$.
2. Let $b_n = \log_2 a_n$, and the sum of the first $n$ terms of the sequence $\{b_n\}$ is $S_n$. When $$\frac {S_{1}}{1} + \frac {S_{2}}{2} + \frac {S_{3}}{3} + \ldots + \frac {S_{n}}{n}$$ is maximized, find the value of $n$.

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