(In reply to
1st attempt - not complete by Kenny M)
The expression a(k)-1 is never negative
Absolutely correct, this is the right answer.
Having said that, one should try to show how close to zero one can get - and that is of course dependant on the degree of precision in the initial represetation of "pi" and on the scope of one's computing device while dealing with "long" numbers.
I admit that my wording was "lame" and the problem deserves a better presentation.
@Charley - I never considered the negative k - My intention was to find out how close to zero your computation arrives-i.e.
due to calculating dificulties at what k your computer says ZERO, clearly not NEGATIVE.
Edited on May 12, 2019, 10:10 am