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

(tye)Re: Sierpinskij (Re: Binomial Expansion)

by tye (Cardinal)
on Mar 29, 2001 at 21:13 UTC ( #68131=note: print w/ replies, xml ) Need Help??


in reply to Sierpinskij (Re: Binomial Expansion)
in thread Binomial Expansion

I thought part of the point of Pascal's triangle was to show that you don't have to compute factorials:

my @line= (1); while( 1 ) { print "@line\n"; push @line, 0; for( reverse 1..$#line ) { $line[$_] += $line[$_-1]; } }
Be sure to pipe the output to more.

        - tye (but my friends call me "Tye")


Comment on (tye)Re: Sierpinskij (Re: Binomial Expansion)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-31 05:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls