MathGroup Archive 2011

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

Search the Archive

Re: Quick Mathematica Question


ReplaceRepeated has a MaxIterations option, or you could do:

Grid[NestList[#1 /. {0 -> 1, 1 -> Sequence[1, 0]} & , {0}, 4]]

Daniel


  • Prev by Date: Text Color in Copied Text
  • Next by Date: Postfix and options
  • Previous by thread: Re: Quick Mathematica Question
  • Next by thread: Re: Quick Mathematica Question