I'm trying to find the common calculation between a series of numbers. For example:
2,4
3,9
4,16
I know that the calculation is simply the number squared. Another example would be:
3,18
4,52
5,110
In this example, I know that it is ((number * number) - 3) * number. So, with the number in the first set being 3, it would reduce down to ((3 * 3) - 3) * 3 = 18.
So, ultimately my question is trying to find the calculation between the following sets:
4,108
5,405
6,990
(for a bit of background as to why I'm asking this question, you can see my first failed attempt at asking the question here: https://math.stackexchange.com/questions/36689/finding-the-calculation-for-the-24th-permutation)