Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 scrutinizing the Monastery: (8)
As of 2014-10-02 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (61 votes), past polls