Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

by tye (Sage)
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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-11-28 23:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls