We define a function f(x) as for x>2 with f(1)=2 and f(2)=3. Find the term.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Given f(1)=2 , f(2)=3 Now f(x)=f(x-1)-f(x-2) So f(3)=f(2)-f(1)=1...similarly f(4)=f(3)-f(2)=-2...proceeding this way we get f(5)=-3 , f(6)=-1 , f(7)=2 , f(8)=3 , f(9)=1 , f(10)=-2 , f(11)=-3 f(12)=-1 , f(13)=2 ....Here we notice that after every 6 no.s the 7th no repeats the same value as that of the 1st no and so on upto the 6th no...hence taking the nos in pairs of six we get the 999996th no will have the value -1(i.e the value of the sixth no f(6)) so f(999997)=2 , f(999998)=3 , f(999999)=1 & f(1000000)=-2