Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Sierpinski Triangle recursion problem

Posted on 2004-11-30
4
Medium Priority
?
751 Views
Last Modified: 2009-07-29
I'm new to scheme and I am looking for a solution (code or pseudocode) to a recursive procedure for Sierpinski's Triangle
0
Comment
Question by:VBStudent
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
Rok Brnot earned 1000 total points
ID: 12710358
0
 
LVL 4

Assisted Solution

by:computerg33k
computerg33k earned 1000 total points
ID: 12720604
If the numbers in Pascal's triangle divisible by 2 (even numbers) are colored black, and those indivisible by 2 (odd numbers) colored red, the resulting pattern is Sierpinski's Triangle, a recursive fractal. To the right is a picture of this with Pascal's triangle taken out to 128 rows.
http://www.davidscudder.com/pascal/patterns.html

0
 

Author Comment

by:VBStudent
ID: 12720664
Thanks to both of you.  That helped me develop an algorithm for scheme
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Progress

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question