``` set_random_seed(1);a=(Integers(13)(2))**randint(2,2**4000-1) OverflowError Traceback (most recent call last) OverflowError: Python int too large to convert to C long
The above exception was the direct cause of the following exception: SystemError ``` I think the result should be computed correctly in time O(4000) via fast doubling without knowledge of the factorization. pari/gp computes it fast. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAGUWgD_nLYg8Ey0LZpfZjFLD4iXLQaz55CsX%3DbLpF0g362_TqQ%40mail.gmail.com.