Ask your own question, for FREE!
Mathematics 7 Online
OpenStudy (anonymous):

In the sequence: 2,5,3, starting with the third, each term is equal to the term preceeding it minus the term preceeding that one. What is the sum of the first 112 terms of this sequence?

OpenStudy (anonymous):

2,5,3...........???

OpenStudy (anonymous):

is it a fibanocci sequence

OpenStudy (anonymous):

Sorta, its 2+5-3

OpenStudy (anonymous):

Then, 5+3-4

OpenStudy (amistre64):

its prolly a telescoping sum

OpenStudy (anonymous):

Yup

OpenStudy (amistre64):

a1+a2+a3+(a3-a2)+(a4-a3)+(a5-a4) + ... +(a111 - a110) ^ ^ ^ ^ ^ ^ ^ ^ looks to me like it would amount to: a1+a3+a111 if you can determine those terms

OpenStudy (anonymous):

Okay So 2+3+x

OpenStudy (amistre64):

yep, only problem is in determining an explicit formula to find the nth term with :/

OpenStudy (amistre64):

we could write a program to follow the rules set out to find it recurssively

OpenStudy (anonymous):

Okay like in sum notation?

OpenStudy (amistre64):

i was thinking more like in "javascript" :)

OpenStudy (anonymous):

Well I have a TI-84 + so I kinda want a program for it

OpenStudy (amistre64):

i never learnt how to program those fancy things :/

OpenStudy (anonymous):

I can but I need the formula :P

OpenStudy (amistre64):

<html> <body> <input type=text id="answer"><br> <input type=button value="Calculate a111" onClick="qwe()"> </body> <script language=javascript> var a=new Array() a[1]=2; a[2]=5; a[3]=3 function qwe() { for (x = 4; x < 112; x=x+1) { a[x] = a[x-1] - a[x-2] } document.getElementById("answer").value=a[111] } </script> </html> might do the trick

OpenStudy (anonymous):

OMG

OpenStudy (anonymous):

I'll give you a medal for that :P

OpenStudy (amistre64):

lol, lets see if it works :) copy and past it into a textfile named, i dunno .... tryIt.html

OpenStudy (anonymous):

K

OpenStudy (amistre64):

OpenStudy (anonymous):

I did it but what do I type into the box?

OpenStudy (amistre64):

teh box is just a display; the button runs thru the recurrsive parts and stores each value into an array for calculating; all we need is the a111 value; hit the button and it should give you 3 in the box

OpenStudy (anonymous):

Okay but how did you learn how use javascript?

OpenStudy (amistre64):

heres a better version of it that shows you the values as it calculates; i learned it by going online and reading about it; there are sites that have all sorts of information that arent part of facebook, and have nothing to do with porn .... lol

OpenStudy (amistre64):

after the first nine terms it looks like a pattern would have become apparent 2 5 3 -2 -5 -3 2 5 3 etc ....

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!