Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2018-02-20 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (268 votes). Check out past polls.

    Notices?