Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

infinite series

by marvell (Pilgrim)
on May 16, 2001 at 18:48 UTC ( [id://80910]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Series;
    
    use strict;
    ...
    }
    
    1;
    
  2. or download this
    #!/usr/bin/perl -w 
    
    ...
    
    print shift(@fibo)." " for (1..15);
    print "\n";
    
  3. or download this
    Arithmetic Series: 1,4,7, ... N_{i-1}+3 ...
    1 4 7 10 13 16 19 22 25 28 31 34 37 40 43 
    ...
    
    Fibonacci Numbers: 0,1,1,2,3, ... N_{i-1}+N_{i-2} ...
    0 1 1 2 3 5 8 13 21 34 55 89 144 233 377
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://80910]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-26 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found