First time here? Check out the FAQ!
answered 2 years ago
PARI/GP support p-aic numbers with non-prime p:
a = gp('1+O(10^3)') print(a+100)
updated 2 years ago
PARI/GP support p-aic supports p-adic numbers with non-prime p:
This can be used inside Sage:
sage: a = gp('1+O(10^3)') print(a+100) gp('1 + O(10^3)') sage: a 1 + O(10^3) sage: a + 100 1 + 10^2 + O(10^3)