Re: Quick Mathematica Question
- To: mathgroup at smc.vnet.net
- Subject: [mg115294] Re: Quick Mathematica Question
- From: Dean <deanrosenthal at gmail.com>
- Date: Thu, 6 Jan 2011 02:30:48 -0500 (EST)
- References: <201101051046.FAA06774@smc.vnet.net>
Thanks to all for such pleasant responses, with so many good recommendations I was able to write a special, clean 3 line program that gave me the output I asked about and much more. Dean On Wed, Jan 5, 2011 at 5:46 AM, Dean <deanrosenthal at gmail.com> wrote: > How would I program user-defined rules such as > > 0->1 > 1->10 > > to give the output, and specify the number of recursions. For example, > starting with 0, > > 0 > 1 > 10 > 101 > 10110 > ... > > Specified, 5 generations. > > -- > Dean Rosenthal > > cell: 646 733 6966 > www.deanrosenthal.org > http://www.the-open-space.org/webmag/test1.html > -- Dean Rosenthal cell: 646 733 6966 www.deanrosenthal.org http://www.the-open-space.org/webmag/test1.html
- References:
- Re: Quick Mathematica Question
- From: Dean <deanrosenthal@gmail.com>
- Re: Quick Mathematica Question