On Thu, 18 Sep 2014 at 07:03AM -0700, Harald Schilly wrote: > ... it works, but doesn't it call f way too often?
Yeah, my solution is quadratic, and you can do a loop and append in linear time. In this case, I immediately thought of my applyntimes just because it's sitting around in my Sage code folder and I use it. I guess I was holding a hammer and it made his problem look like a nail... Dan -- --- Dan Drake ----- www.math.wisc.edu/~ddrake/ -------
signature.asc
Description: Digital signature