The stupid question is the question not asked | |
PerlMonks |
Re: Re: Re: Fibonacci numbersby premchai21 (Curate) |
on Oct 02, 2001 at 01:04 UTC ( [id://115981]=note: print w/replies, xml ) | Need Help?? |
Yes, it is. To reduce the problem size, the following program is likely to eventually print out any Fibonacci numbers between 0 and N-1, where N is the command line argument. In order, even. However, you must find them buried in all the other numbers, and it will take an indeterminate amount of time. It will not stop upon hitting a sequence of fibonacci numbers. (Hint: The output is random.)
In Section
Seekers of Perl Wisdom
|
|