Thread: Recurrence Relation..Help needed!

  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,336
    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, 09: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, 11:55 AM
  3. C++ help needed
    By Enkindu in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 08-31-2004, 11:24 PM
  4. Using pointers - asterisks needed ?
    By Nutshell in forum C Programming
    Replies: 5
    Last Post: 01-28-2002, 06:56 PM