All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Neponacci. (Posted on 2024-02-01) Difficulty: 3 of 5

It's like Fibonacci but starting with only one male rabbit, and adding a female in the second month. Rabbits are immortal, and male/female pairs produce one offspring every month. Numbers of males and females are kept equal as far as possible - that is, two pairs of rabbits will produce a male/female pair, and a single pair of rabbits will produce a male, unless an odd male already exists from an earlier month, in which case they will produce a female.

Produce a closed form expression for the number of rabbits after the nth month, and use this to compute the total number of rabbits after 5 years.

No Solution Yet Submitted by broll    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Possible issue | Comment 2 of 3 |
Charlie,

I probably wasn't clear enough. 

I wasn't looking for the cumulative total of rabbits, but the number added in each month.

Your cumulative totals are correct, they just need to be 'de-cumulated' by deducting the total in the previous month from the current total. (2-1=1, 3-2=1 etc.) 

You should then get a different and hopefully more interesting sequence.


Edited on February 2, 2024, 12:01 am
  Posted by broll on 2024-02-01 22:25:25

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information