MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Pascal's Triangle

It looks as if you might profit enormously by taking a look at Stephen
Wolfram's recent book, "A New Kind of Science", where this and similar
problems are painstakingly discussed. In particular, in p. 611 of the book
you have a plot of the Pascal triangle. The code used by Wolfram illustrates
the way Mathematica programming is used by the great gurus.

Tomas Garza
Mexico City
----- Original Message -----
From: "Al Mannon" <almannon at>
To: mathgroup at
Subject: [mg37370] [mg37349] Pascal's Triangle

> I want to write a program that will create an array of equilateral
> such that in the first row there is 1 triangle, in the second row there is
> triangles, in the third row there will be 5 the nth row
> will be 2n - 1 triangles. Putting all of these triangles together and
> calling the first row, row 0, we would have a large triangle with n + 1
> along the side of the large triangle and 2n - 1 columns along the base of
> the triangle.
> This would be phase one of the project.
> Phase 2: Fill in the binomial coefficients into the triangle.
> Phase 3: Color all odd numbered triangles blue.
> Phase 4: Color all even numbered triangles red.
> Phase 5: Any triangle that shares an edge with a red triangle, color red.
> The result is Zierpinski's Triangle! I have done this by hand for a
> with 16 rows. Needless to say the work was tedious. The result, however,
> quite satisfying and remarkable. I would like to be able to use this as a
> tool to teach some of the other derivations that are possible from
> triangle other than binomial coefficients and combinations. Therefore it
> would be beneficial to be able to reproduce this work at will.
> Since my Mathematica programming skills are practically nil, any help
> be appreciated.
> I can be reached directly by electronic mail by deleting "the" in the
> following:
> althemannon at

  • Prev by Date: Re: Problem with user defined functions
  • Next by Date: RE: Problem with user defined functions
  • Previous by thread: Pascal's Triangle
  • Next by thread: Re: Pascal's Triangle