Re: [sage-support] primes -- enhancement request

2019-03-12 Thread Peter Luschny
> > You need to add the option "pari_isprime": > Thank you! Since the documentation says "large", and "not too large" and "much larger" but does not say what "large" means I include a table which reflects my use case. On the other hand I have no idea whether or not these bounds depend on availa

Re: [sage-support] primes -- enhancement request

2019-03-12 Thread David Joyner
On Tue, Mar 12, 2019 at 11:12 AM Peter Luschny wrote: > You did not say what command you were using. >> > > Oh, I thought that was clear from the error message: prime_range. > The function (implementing the factorial) is on GitHub >

Re: [sage-support] primes -- enhancement request

2019-03-12 Thread Peter Luschny
> > You did not say what command you were using. > Oh, I thought that was clear from the error message: prime_range. The function (implementing the factorial) is on GitHub

Re: [sage-support] primes -- enhancement request

2019-03-12 Thread John Cremona
You did not say what command you were using. The documentation for both primes() and prime_range() show examples with much larger primes. John Cremona On Tue, 12 Mar 2019 at 11:25, Peter Luschny wrote: > ValueError: Cannot compute primes beyond 436273290 > > > I think SageMath should do bette

[sage-support] primes -- enhancement request

2019-03-12 Thread Peter Luschny
ValueError: Cannot compute primes beyond 436273290 I think SageMath should do better. Cheers, Peter /opt/sagemath-8.4/local/lib/python2.7/site-packages/sage/rings/fast_arith.pyx in sage.rings.fast_arith.prime_range (build/cythonized/sage/rings/fast_arith.c:3390)() 46 from sage.rings