Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

I Fibonnaci with a twist

Tags:
  1. Jul 21, 2016 #1
    I know that the Fibonnaci equation, Fn = Fn-1 + Fn-2, allows you to calculate (If you are using rabbits) each rabbit giving offspring to one other pair or rabbits. How does one create an equation for three offspring for each rabbit, instead of one? Instead of 0, 1, 1, 2, 3, 5, 8, 13..you have 0, 1, 1, 4, 7, 19, 38. I've been trying to create a formula that matches this, but I'm not sure if I'm doing more work than I need to. If k represents the number of offspring, the closest I have come up with is Xn = X(n-1) + X(n-2) + k + n with n being the generation number, Xn being the number of rabbits. It works for the first few generations but falls apart eventually.
     
  2. jcsd
  3. Jul 21, 2016 #2

    RUber

    User Avatar
    Homework Helper

    I am not sure I understand your example with the rabbits.
    It looks like you are saying instead of ##X_n = X_{n-1} + X_{n-2}## you are changing the game to ##X_n = X_{n-1} +3 X_{n-2}.## But I am not sure how you generated your example sequence...since that method doesn't give 38.
     
  4. Jul 22, 2016 #3
    Oh lawdy. You're right! That 6th generation should be 40. Not 38. And yes, that equation was exactly what I was aiming for. Much appreciated!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted