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
Medium Priority
751 Views
I'm new to scheme and I am looking for a solution (code or pseudocode) to a recursive procedure for Sierpinski's Triangle
0
Question by:VBStudent
• 2

LVL 5

Accepted Solution

Rok Brnot earned 1000 total points
ID: 12710358
0

LVL 4

Assisted Solution

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

LVL 4

Expert Comment

ID: 12720623
0

Author Comment

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

## Featured Post

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
###### Suggested Courses
Course of the Month12 days, 4 hours left to enroll