Jon Perry on Tue, 17 Sep 2002 18:04:53 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

nextprime/precprime


Why does Pari give:

? nextprime(7)
%1 = 7
? precprime(7)
%2 = 7

?

This behaviour is stated in the user guide, but no justification is given.

Jon Perry
perry@globalnet.co.uk
http://www.users.globalnet.co.uk/~perry/maths
BrainBench MVP for HTML and JavaScript
http://www.brainbench.com