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