large prime field

This post is a wiki. Anyone with karma >750 is welcome to improve it.

p = 46891012152021222527303233355051

I am working on extension of P that is (p^2) , i have written algorithm in sagemath, when i execute my code it gives error

OverflowError: Python int too large to convert to C long is there any solution to solve above problem so that my algorithm will run smoothely.

thanks

edit retag close merge delete

You should give us the more precise computations you are trying to do, since it is hard to understand where your problem comes from.

( 2017-06-06 04:33:37 -0500 )edit

Since another person is asking the same question, I do not see any problem with this computation (from at least SageMath 7.6).

sage: p = 46891012152021222527303233355051
sage: K = GF(p^2)
sage: K
Finite Field in z2 of size 46891012152021222527303233355051^2

( 2017-06-19 02:01:11 -0500 )edit

Sort by ยป oldest newest most voted

Hi. I have the same problem so if someone have the solution, I will just say "thank you". :)

more