M BUZZ CRAZE NEWS
// general

Online calculator for $ p $-adic valuations and absolute values.

By Emma Johnson
$\begingroup$

Does anyone know a website where I can enter a prime base and a rational and then get the $ p $-adic valuation and the $ p $-adic absolute value? For sure I know how to do it by hand, but I want to check my results and rule out computational mistakes.

$\endgroup$

2 Answers

$\begingroup$

WolframAlpha can do it. It understood my request 2-adic valuation of 42 as IntegerExponent[42,2], which seems to be the appropriate function for this. For the $p$-adic absolute value, there is the slight problem that there are several equivalent (as in: defining the same topology, not the same norm) choices. But replacing $n$ by $p^{-n}$ should not be too hard. (Plus, the valuation is more useful in practice).

$\endgroup$ $\begingroup$

Maybe you can go to SageMathCloud. Create project, then create page and then use gp/pari on this page like this:

%gp
905/7 +O(7^3)

the answer will be

2*7^-1 + 3 + 4*7 + 2*7^2 + O(7^3)

You can see more in this video

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy