Popular recipes tagged "fibonacci"http://code.activestate.com/recipes/tags/fibonacci/2012-11-14T19:03:11-08:00ActiveState Code RecipesFibonacci numbers (Batch)
2012-11-14T19:03:11-08:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578326-fibonacci-numbers/
<p style="color: grey">
Batch
recipe 578326
by <a href="/recipes/users/4184115/">greg zakharov</a>
(<a href="/recipes/tags/fibonacci/">fibonacci</a>).
Revision 2.
</p>
<p>Using example: fibonacci.cmd 9 (returns 55).</p>
Fibonacci Number Generator (Python)
2011-04-13T00:00:59-07:00Sunjay Varmahttp://code.activestate.com/recipes/users/4174115/http://code.activestate.com/recipes/577651-fibonacci-number-generator/
<p style="color: grey">
Python
recipe 577651
by <a href="/recipes/users/4174115/">Sunjay Varma</a>
(<a href="/recipes/tags/fibonacci/">fibonacci</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/memorizing/">memorizing</a>, <a href="/recipes/tags/number/">number</a>).
</p>
<p>This recipe allows for individual number generation, and allows for generations of number ranges as well. </p>
<p>The recipe automatically memorizes numbers generated before and keeps them through out the running of the script. This recipe cannot handle too large of numbers, but does act as a simple solution for most cases.</p>