Feature #1084

New function: PrevPrime

Added by Anna Maria Bigatti about 1 year ago. Updated 8 months ago.

CoCoA-5 function: new
Target version:
Start date:
29 Jun 2017
Due date:
% Done:


Estimated time:
1.51 h
Spent time:


We have NextPrime.
For modular methods it would be nice to have PrevPrime, so that we can start from the biggest meaningful prime and go down.

Related issues

Related to CoCoALib - Bug #1088: MinPolyQuot: runs out of primesClosed2017-07-05


#1 Updated by John Abbott about 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

In CoCoALib the function is already there; it is not exported to CoCoA-5, but perhaps should be?
It is also documented!

#2 Updated by Anna Maria Bigatti about 1 year ago

  • Assignee set to John Abbott
  • Target version changed from CoCoALib-0.99999 to CoCoALib-0.99560
  • % Done changed from 10 to 70
  • Estimated time set to 1.51 h

Great, thanks!
I could swear I had looked for it, without finding it....

I have added it to cocoa-5.

#3 Updated by Anna Maria Bigatti about 1 year ago

  • Project changed from CoCoALib to CoCoA-5
  • Category changed from New Function to CoCoA-5 function: new
  • Status changed from In Progress to Feedback
  • Target version changed from CoCoALib-0.99560 to CoCoA-5.2.2

#4 Updated by Anna Maria Bigatti about 1 year ago

  • Related to Bug #1088: MinPolyQuot: runs out of primes added

#5 Updated by John Abbott 8 months ago

  • Status changed from Feedback to Closed
  • % Done changed from 70 to 100

Completed CoCoA-5 man page for PrevPrime.

Also available in: Atom PDF