
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 an array of integers where each number is distinct $\left(i_1, i_2, i_3, \ldots, i_n\right)$ (where $n$ is a positive integer not less than 2), if for any $p$, $q \in \left\{1, 2, 3, \ldots, n\right\}$, when $p < q$, and $i_p > i_q$, then the pair $i_p$, $i_q$ is called an "inversion" in the array. The total number of such "inversions" in an array is called the "inversion number" of the array. What is the inversion number of the array $\left(2, 4, 3, 1\right)$?

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