MathGroup Archive 2002

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

Search the Archive

Re NestWhile


Tom:
	This will do it:
				NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &,
7, # =!= 1 &]]
	Best,
	Harvey

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________


  • Prev by Date: Oscillatory Integrand
  • Next by Date: ReplaceAll doesn't replace
  • Previous by thread: Oscillatory Integrand
  • Next by thread: ReplaceAll doesn't replace