Sierpinski Triangle recursion problem

Posted on 2004-11-30
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
Question by:VBStudent
    LVL 5

    Accepted Solution

    LVL 4

    Assisted Solution

    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.

    LVL 4

    Expert Comment


    Author Comment

    Thanks to both of you.  That helped me develop an algorithm for scheme

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
    I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    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…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now