On 23 December 2012 02:59, Bo Jacoby <bojac...@yahoo.dk> wrote: > Note that the closed form solution doesn't have to compute the intermediate > values. > .................... > Here the closed form solution was 14 times faster and used 29 per cent less > space.
Bo, You are comparing here two solutions for computing S(5000). What Skip was discussing was computing S(i) for i=1,…,5000. These are different problems, so your data does not contradict his. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm