How many ways are there to arrange the array of positive integers such that:
- The number $2012$ is in the first position.
- The number $1$ is in the last position.

Note: Each number following $n$ must be a positive integer less than $\sqrt{n}$.

Let's think step by step and output the final answer within \boxed{}.
user