1, 2, 7, 20, 61, 182

Printable View

- October 17th 2013, 03:06 AMparmisWhat is the pattern in these numbers
1, 2, 7, 20, 61, 182

- October 17th 2013, 03:35 AMchiroRe: What is the pattern in these numbers
Hey parmis.

You should note that you can fit infinitely many patterns to this series that will retain the existing numbers but given completely different numbers for those past the last number in the series.

Anyway try x(n) = 3*x(n-1) + (-1)^n :) - October 17th 2013, 08:02 AMHallsofIvyRe: What is the pattern in these numbers
Additionally, we can always fit an n-1 dimensional to any n points. Here, there are six values so there exist a unique fifth degree polynomial f(x) such that f(1)= 1, f(2)= 2, f(3)= 7, f(4)= 20, f(5)= 61, f(6)= 182.

One way of finding that is to write . Then a+ b+ c+ d+ e+ f= 1, 32a+ 16b+ 8c+ 4d+ 2e+ f= 2, 243a+ 81b+ 27c+ 9d+ 3e+ f= 7, etc.

Another is to use "Leibniz's formula: .

You can get the same polynomial with "Newton's difference formula".

The values are 1, 2, 7, 20, 61, 182. The "first differences" are 2-1= 1, 7- 2= 5, 20- 7= 13, 61- 20= 41, 182- 61= 121. The "second differences" are 5-1= 4, 13- 5= 8, 41- 13= 28, 121- 41= 80. The "third differences are 8- 4= 4, 28- 8= 20, 80- 28= 52. The "fourth differences" are 20- 4= 16, 52- 20= 32. The "fifth difference" is 32- 16= 16. We can then write the polynomial 1+ 1(n-1)+ 4(n-1)(n-2)+ 4(n-1)(n-2)(n-3)+ 16(n-1)(n-2)(n-3)(n-4)+ 16(n-1)(n-2)(n-3)(n-4)(n-5).

(Did you**understand**Chiro's answer? He is not saying that x(n) is equal to 3**times**n-1 + (-1)^n. He is saying that each term, x(n), is equal to 3 times the**previous**value, x(n-1). He gave you a**recursive**formula, not a direct formula for the value of x(n).) - October 18th 2013, 05:53 AMSorobanRe: What is the pattern in these numbers
Hello, parmis!

Chiro found a recurrence relation . . . Impressive!

Using his result, I found a closed formula.

Quote:

What is the pattern? .