Looking for an algorithm that will give me the number of members that will result from calculating a Fibonacci series, given a particular limit.
For example, if I start the series at 1 and limit my results to <= 10000, determine the number of members such a Fibonacci series will contain. (I am writing some software that builds a Fibonacci series to a given limit: Before the calculation begins, it would be more efficient to know in advance how much memory I need to allocate for a container that will hold all the resulting members of the series)