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

Re: (Efficiency Golf) Triangular numbers

by Zaxo (Archbishop)
on May 30, 2001 at 23:13 UTC ( #84351=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    There are 31 three digit triangular numbers
    There are 307 five digit triangular numbers
    ...
    SIX:    820
    TEN:    153
    Elapsed time:    0.02    0    0    0    
    
  2. or download this
    #!/usr/bin/perl -w # -*-Perl-*-
    
    ...
    }
    my @tim = times();
    print "Elapsed time:\t",join "\t", @tim,"\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-09-23 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (210 votes), past polls