Check the forward differences of the sequence.
• first-order differences
5 - 1 = 4
12 - 5 = 7
22 - 12 = 10
35 - 22 = 13
• second-order differences (i.e. differences of the first differences)
7 - 4 = 3
10 - 7 = 3
13 - 10 = 3
The second differences are all 3 (as far as we know), so the sequence of first differences is arithmetic/linear, which means the original sequence is quadratic. Let the
-th term be

Given that
,
, and
, we have

and so the
-th term of the sequence is generated by the rule

which most closely resembles the last option,
Square the term number, multiply the result by 3, subtract the term number, and divide the result by 2.