Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

infinite series

by marvell (Pilgrim)
on May 16, 2001 at 18:48 UTC ( #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
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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-09-23 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (224 votes), past polls