# large prime field

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

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

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