satellite73 Group Title the sequence is 2, 10, 30, 68,130, ... third differences is 6 so it is cubic what is the formula for each term? one year ago one year ago

1. satellite73 Group Title

i got the answer from my eyeballs, but the question is: what is the method for deriving the sequence?

2. vikrantg4 Group Title

what's the pattern in this sequence :/

3. experimentX Group Title

man ... are you trying to guess by looking? did you check my last answer ... my second last drawing!!

4. Zarkon Group Title

$n^3+n$

5. vikrantg4 Group Title

6. satellite73 Group Title

sequence is $$k^3+k$$ and yes, i guessed it, it wasn't hard you know it is cubic $2=1^3+1$$10=2^3+2$$30=3^3+3$ pattern is clear, i just wanted a snap method for getting it

npower3+n

8. Zarkon Group Title

I used regression

9. satellite73 Group Title

@Zarkon expand...

10. satellite73 Group Title

11. Zarkon Group Title

I found the cubic regression formula for the above 'data' set

12. Zarkon Group Title

it is $\hat{y}=x^3+x$

13. satellite73 Group Title

hmmm you mean a system of equations?

14. Zarkon Group Title

A polynomial of degree 4 can fit in the above data...do a 'linear' regression with $y=ax^4+bx^3+cx^2+dx+e$ you will get $a=0,b=1,c=0,d=1,e=0$

15. Zarkon Group Title

let $x=\{1,2,3,4,5\}$ and $y=\{2, 10, 30, 68,130\}$

16. satellite73 Group Title

ok thanks. i think in this case maybe it was easier to guess, but in general not

17. Zarkon Group Title

sure

18. satellite73 Group Title

oh, but i know it is a polynomial of degree 3, because the third differences are constant. i can ignore the last term then? and use $$x=\{1,2,3,4\}$$ $$y=\{2,10,30,68\}$$

19. Zarkon Group Title

sure

20. satellite73 Group Title

thnx

21. Zarkon Group Title

NP

22. experimentX Group Title

Here is another one $2 + \sum_{i = 1}^{n-1}\left( 8 + \sum_{j=1}^{i-1} 12 + (j-1)6\right)$ Mathematica code .. 2 + Sum[8 + Sum[12 + (i - 1) 6, {i, 1, j - 1}], {j, 1, n - 1}] though W|A doesn't like it