Recursive Definition of a Sequence: Solving for a5

  • Thread starter Thread starter mamma_mia66
  • Start date Start date
  • Tags Tags
    Definitions
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
mamma_mia66
Messages
51
Reaction score
0
b]1. Homework Statement [/b]

Given a0=1 and a1=2, and

an=3an-1+an-2 for n>=2,

calculate a5 recursively


Homework Equations





The Attempt at a Solution



a5=3a4+a3
=3(3a3+a2)+a3=10a3+3a2
=10(3a2+a1)+3a2
=33a2+10a1
=33(3a1+a0)+10a1
=99a1+33a0+10a1
=109a1+33a0
 
Last edited:
Physics news on Phys.org
Right. But isn't it easier to start with a0=1 and a1=2 and work your way up to a5? That way it's just arithmetic, not algebra.
 
Thank you for the proof of my work. That is the way the professor wants us to do it. :smile:
 
Doesn't your professor want you to complete the problem?

You were told that a0= 1 and a1= 2. The complete answer is NOT "109a1+33a0", it is 109(1)+ 33(2)= 109+ 66= 175.

I suspect you have misunderstood what your professor wants.
 
I completed. It most important for me that I did it right.