> > The only problem with this is that you need to know the
> > maximum cell width (on the last row) when you build the
> > first one. So I iterate twice over all rows. The first time
> > to determine the last row and its biggest cell and the
> > second time to format and print each row.
>
> You really don't need to build the whole triangle to know the
> length of the biggest number.... I don't think I'm allowed to
> give you the formula, but it should'nt be that hard to figure
> out anyway ;-)

I know:

 http://www.mathwords.com/b/binomial_coefficients_pascal.htm

gegroet,
Erik V. - http://www.erikveen.dds.nl/