MathGroup Archive 2003

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

Search the Archive

Re: Problem with NestWhileList

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43700] Re: [mg43673] Problem with NestWhileList
  • From: Rolf Mertig <rolf at mertig.com>
  • Date: Tue, 30 Sep 2003 16:42:57 -0400 (EDT)
  • Reply-to: rolf at mertig.com
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
one possibility is:

In[1]:= NestWhileList[3Ceiling[#1]/2 &, 15,Not[IntegerQ[#2]]&,2]//InputForm

Out[1]//InputForm= {15, 45/2, 69/2, 105/2, 159/2, 120}



Rolf Mertig
Mertig Consulting


  • Prev by Date: Re: Problem with NestWhileList
  • Next by Date: Antw: Re: Plots -> EPS -> Corel Draw
  • Previous by thread: Re: Problem with NestWhileList
  • Next by thread: Unit Root tests in Mathematica