Could anyone solve this challenge problem on series, very similar to the Fibonacci Sequence? an = an-1 + an-2 - an-3.

79 Views Asked by At

It is given that a1 = $0.2$, a2 = $0.3$, a3 = $0.5$ and an = an-1 + an-2 - an-3

P = a2013

Q = a1 + a2 + a3 + ... + a2013

R is the minimum value of i such that ai > 2013.

S is the number of possible values for i such that ai is an integer for i $\leqslant$ i $\leqslant$ 2013.

Find the values of P, Q, R and S.

(It should be able to be solved without the use of a calculator.)


  • I got the answer 301.8 for P, by realising that the value of the terms increases by 0.1 and 0.2 in an alternating way.

P = $(2013-1) / 2 * (0.1+0.2)$ = $1006 * 0.3$ = $301.8$

1

There are 1 best solutions below

5
On

Your method is pretty close to optimal, I'd say.

If you want another approach, note that the characteristic polynomial is $$x^3-x^2-x+1=(x-1)^2(x+1)$$ so the general solution to the recursion is $$A+B (-1)^n+Cn$$

Using your given initial conditions we see that $$a_n=\frac 1{40}-\frac 1{40}(-1)^n+\frac 3{20}n$$ And you can now sum and solve analytically.

Note, however, that the simplicity of this solution really is a lucky accident (or a contrivance of the problem). Most cubics have unpleasant solutions so this analytic method would return a very complex formula.