12.2k views
3 votes
If f(1) = 1 and f(n) = 5f(n-1) + 4 then find the value of f(5).

2 Answers

6 votes
  • f(n)=5f(n-1)+4
  • f(2)=5f1+4=5+4=9
  • f(3)=5f2+4=45+4=49
  • f(4)=5f3+4=245+4=249
  • f(5)=5f_4+4=1245+4=1249
User Charliemops
by
4.2k points
7 votes

Answer:


f(5)=1249

Explanation:

Given:


  • f(1)=1

  • f(n) = 5f(n-1)+4


\implies f(2) = 5f(1)+4=5(1)+4=9


\implies f(3) = 5f(2)+4=5(9)+4=49


\implies f(4) = 5f(3)+4=5(49)+4=249


\implies f(5) = 5f(4)+4=5(249)+4=1249

User Munish Goyal
by
4.2k points