http://www.perlmonks.org?node_id=68131


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")