Recurrence Relation..Help needed!

This is a discussion on Recurrence Relation..Help needed! within the Tech Board forums, part of the Community Boards category; Code: A(n) = A(n-1) + B(n-1) + C(n-1) B(n) = 3^(n-1) - C(n-1) C(n) = 3^(n-1) - B(n-1) A(1) = ...

  1. #1
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    278

    Recurrence Relation..Help needed!

    Code:
    A(n) = A(n-1) + B(n-1) + C(n-1)
    B(n) = 3^(n-1) - C(n-1)
    C(n) = 3^(n-1) - B(n-1)
    A(1) = B(1) = C(1) = 1
    Any help or clues on this or any link for any tutorial please?
    I tried using generating functions but failed...

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Hint: Do you expect B and C to be different? Once you have B and C getting A should be easy.

  3. #3
    Anirban Ghosh
    Join Date
    Jan 2006
    Posts
    278
    Ya later i solved it using Generating functions
    Anyway thanks for helping!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. free needed or not?
    By quantt in forum Linux Programming
    Replies: 3
    Last Post: 06-25-2009, 10:32 AM
  2. C Programmers needed for Direct Hire positions
    By canefan in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 09-24-2008, 12:55 PM
  3. C++ help needed
    By Enkindu in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-01-2004, 12:24 AM
  4. Using pointers - asterisks needed ?
    By Nutshell in forum C Programming
    Replies: 5
    Last Post: 01-28-2002, 06:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21