[UPDATE]
Here's the problem:
a(k) = p*(k)^2 + q*(k) + r (k=1,2,3,...)
a(1) = 9
a(2) = 31
a(3) = 65
a(4) = 111
Now I made following equations:
Eq1: p*4 + q * 2 + r = 31
Eq2: p*9 + q * 3 + r = 65
Eq3: p*16 + q * 4 + r = 111
Then I subtracted Eq1 from Eq2 which gave me 5x - y = 34
Then I subtracted Eq2 from Eq3 which gave me 7x + y = 46
Then I subtracted the above two again from each other which gave me 12x = 80 (which is wrong though).
Would that be the right way to do?
Here's the problem:
a(k) = p*(k)^2 + q*(k) + r (k=1,2,3,...)
a(1) = 9
a(2) = 31
a(3) = 65
a(4) = 111
Now I made following equations:
Eq1: p*4 + q * 2 + r = 31
Eq2: p*9 + q * 3 + r = 65
Eq3: p*16 + q * 4 + r = 111
Then I subtracted Eq1 from Eq2 which gave me 5x - y = 34
Then I subtracted Eq2 from Eq3 which gave me 7x + y = 46
Then I subtracted the above two again from each other which gave me 12x = 80 (which is wrong though).
Would that be the right way to do?