Anyone who has not touched upon the p-adic numbers might find the topic rather confusing. Truth be told, it is confusing. The arithmetic part of the process can be a bit challenging due to its abstraction. Assuming that the reader is not familiar with the p-adic numbers, we will consider an example to clarify the matter.

Let’s consider the equation $x+64=0$. Any one individual might tell us that the solution is $x=-64$ when we ask them to solve the equation and of course, they would be right. But we wish to know the 5-adic representation of $-64$. We follow the following procedure:

Solution to $x + 64 = 0$ $mod$ $5$ is $x = 1 = 1 * 5^0$

Solution to $x + 64 = 0$ $mod$ $5^2$ is $x = 11 = 1 * 5^0 + 2 * 5^1$

Solution to $x + 64 = 0$ $mod$ $5^3$ is $x = 61 = 1 * 50^0 + 2 * 5^1 + 2 * 5^2$

Solution to $x + 64 = 0$ $mod$ $5^4$ is $x = 561 = 1 * 50^0 + 2 * 5^1 + 2 * 5^2 + 4 * 5^3$

Solution to $x + 64 = 0$ $mod$ $5^5$ is $x = 3061 = 1 * 50^0 + 2 * 5^1 + 2 * 5^2 + 4 * 5^3 + 4 * 5^4$

.

.

Solution to $x + 64 = 0$ $mod$ $5^n$ is $x = 1 *5^0 + 2 * 5^1 . . . 4 * 5^{n-1}$

For $x + 64 = 0$ $mod$ $5$, we can instantly see that the solution is $x = 1$ since $1 + 64 = 65$ is evenly divisible by $5$. Notice that $x = 1$ can be written as $x = 1 * 5^0$. Now for $x + 64 = 0$ $mod$ $5^2$, we know that when we add $11$ to $64$ which gives us $75$, it will be divisible by $25$. Once again, notice that we can write $x=11$ as $11 = 1 * 5^0 + 2 * 5^1$. The same procedure applies from $x + 64 = 0$ $mod$ $5^3$ all the way up to $x + 64 = 0$ $mod$ $5^n$. In general, we take our $x$ value for $x + 64 = 0$ $mod$ $5^n$ and write the linear combination for it in the form of $x = 1 *5^0 + 2 * 5^1 . . . 4 * 5^{n-1}$.

Following the same procedure, we represent $-64$ in its 5-adic representation as $(1,2,2,4,4,…)$. Although quite interesting, the arithmetic for p-adic representation can be a tedious process. Now that we have seen an example, next we will consider p-adic representation of rational numbers and absolute value on $Q$.