![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Fibonacci numbers using regexes (threes are wild)by blokhead (Monsignor) |
on Oct 15, 2009 at 16:18 UTC ( #801379=obfuscated: print w/replies, xml ) | Need Help?? |
Replace command-line argument 12 with any positive integer N to get the Nth Fibonacci number. Starts getting pretty slow for me after N=30, by the nature of the algorithm. Can you see how it works? <Reveal this spoiler or all in this thread>
blokhead
Back to
Obfuscated Code
|
|