Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Fibonacci Sequence

by tobyink (Abbot)
on Mar 05, 2013 at 14:48 UTC ( #1021836=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $"++;_:while(++$"){$"%$_||next(_)for 2..$"-1;print$",$/}
    
  2. or download this
    $"++;_:while(++$"){$"%$_||next(_)for 2..sqrt$";print$",$/}
    
  3. or download this
    $"++;_:while(++$"){$"%$_||next(_)for 2..$"/2;print$",$/}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021836]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-08-31 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (354 votes), past polls