CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Jul 2009
    Location
    USA
    Posts
    49

    Resolved Induction Question

    I have another induction question. Here's my work. I think I got it right(except the base case).

    Help is greatly appreciated. Thanks in advance.

    The question goes as this: Prove using induction that the nth Fibonacci # is at most 2^n.

    my work:

    P(1) aka base case is ...k = 2^k

    1= 2^1 I don't understand how to get it equal and making it check.

    P(k): 1+1+3+5+........+k+ 2^k

    P(k+1): 1+1+3+5+........k +(k+1) = 2^k +(k+1)

    And that's all I got up to. I think it will hold true.
    Last edited by coder752; September 14th, 2009 at 08:21 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured