02-21-2016, 07:29 PM
Hello,
I have an issue with "Ans":
Example:
nextprime(1000000) ENTER
returns 1000003 (which might be correct, I don't know for sure)
but when entering now
nextprime(Ans) ENTER
I get 2 as a result.
Entering directly
nextprime(1000003) ENTER
I get 1000033, which seems plausible.
What is going on there? Are there some restrictions with Ans?
Thomas
I have an issue with "Ans":
Example:
nextprime(1000000) ENTER
returns 1000003 (which might be correct, I don't know for sure)
but when entering now
nextprime(Ans) ENTER
I get 2 as a result.
Entering directly
nextprime(1000003) ENTER
I get 1000033, which seems plausible.
What is going on there? Are there some restrictions with Ans?
Thomas