[Jprogramming] arithmetic sequence
Boyko Bantchev
boykobb at gmail.com
Sun Dec 23 13:52:39 UTC 2012
On 23 December 2012 02:59, Bo Jacoby <bojacoby at 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.
More information about the Programming
mailing list