Find 4-adic Expansion of $\frac{1}{5}$ - Wondering

  • MHB
  • Thread starter mathmari
  • Start date
  • Tags
    Expansion
Therefore, we can use the same long division algorithm for both expansions. In summary, we can use the long division algorithm in base 4 to find the 4-adic expansion of $\frac{1}{5}$, which is $\displaystyle{\frac{1}{5}\equiv (03)1.(0)\pmod {4^\infty}}$. This means that the coefficients of the expansion will alternate between $3$ and $0$ after the initial $1$, giving us the repeated digits of $(03)1.(0)$ under the vinculum. The calculation of $4/5$ and $-4/5$ in base 4 confirms this pattern.
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :eek:

I want to find the $4$-adic expansion of $\frac{1}{5}$. I have done the following: $\displaystyle{\frac{1}{5}\equiv a_0\pmod 4 \Rightarrow a_0\equiv \frac{1}{5}\pmod 4}$
We multiply by $5$ and we get $\displaystyle{5a_0\equiv 1\pmod 4}$.
The only residue of division by $4$ that solves this is $a_0=1$. Then we have $\displaystyle{\frac{1}{5}-1\equiv 4a_1 \pmod {4^2} \Rightarrow -\frac{4}{5}\equiv 4a_1\pmod {4^2}}$.
We divide by $4$ and we get $\displaystyle{-\frac{1}{5}\equiv a_1\pmod {4}}$.
We multiply then by $5$ and we get $\displaystyle{-1\equiv 5a_1\pmod {4}\Rightarrow 5a_1\equiv -1 \pmod 4 \Rightarrow 5a_1\equiv 3\pmod 4 \Rightarrow a_1\equiv 3\pmod 4}$. The only residue of division by $4$ that solves this is $a_1=3$. Then we have $\displaystyle{\frac{1}{5}-1-3\cdot 4\equiv 4^2a_2 \pmod {4^3} \Rightarrow -\frac{4}{5}-3\cdot 4\equiv 4^2a_2\pmod {4^3}}$.
We multiply by $4$ and we get $\displaystyle{-\frac{1}{5}-3\equiv 4a_2\pmod {4^2}\Rightarrow -\frac{16}{5}\equiv 4a_2 \pmod {4^2}}$, we multiply then by $5$ and we get $\displaystyle{-16\equiv 20a_2\pmod {4^2} \Rightarrow 0\equiv 4a_2 \pmod {4^2} \Rightarrow 4a_2\equiv 0\pmod {4^2}}$. We divide by $4$ and we get $\displaystyle{a_2\equiv 0\pmod {4}}$. The only residue of division by $4$ that solves this is $a_2=0$. Then we have $\displaystyle{\frac{1}{5}-1-3\cdot 4\equiv 4^3a_3 \pmod {4^4} \Rightarrow -\frac{4}{5}-3\cdot 4\equiv 4^3a_3\pmod {4^4}}$.
We divide by $4$ and we get $\displaystyle{-\frac{1}{5}-3\equiv 4^2a_3\pmod {4^3}\Rightarrow -\frac{16}{5}\equiv 4^2a_3 \pmod {4^3}}$, then we divide by $4^2$ and we get $\displaystyle{ -\frac{1}{5}\equiv a_3 \pmod 4}$. Then we multiply by $5$ and we get $\displaystyle{ -1\equiv 5a_3 \pmod 4\Rightarrow 5a_3\equiv -1 \pmod 4 \Rightarrow a_3\equiv 3 \pmod 4 }$. The only residue of division by $4$ that solves this is $a_3=1$.


Then we have $\displaystyle{\frac{1}{5}-1-3\cdot 4-4^3\equiv 4^4a_4 \pmod {4^5} \Rightarrow -\frac{4}{5}-3\cdot 4-4^3\equiv 4^4a_4\pmod {4^5}}$.
We divide by $4$ and get $\displaystyle{-\frac{1}{5}-3-4^2\equiv 4^3a_4\pmod {4^4}\Rightarrow -\frac{16}{5}-4^2\equiv 4^3a_4 \pmod {4^4}}$, then we divide by $4^2$ and get $\displaystyle{ -\frac{1}{5}-1\equiv 4a_4 \pmod 4^2 \Rightarrow -\frac{6}{5}\equiv 4a_4 \pmod {4^2}}$. We multiply then by $5$ and get $\displaystyle{ -6\equiv 20a_4 \pmod {4^2}\Rightarrow 20a_4\equiv -6 \pmod {4^2} \Rightarrow 4a_4\equiv 10 \pmod {4^2} }$.
This doesn't have a solution, right?

Where have I done something wrong? (Wondering)
 
Mathematics news on Phys.org
  • #2
mathmari said:
I want to find the $4$-adic expansion of $\frac{1}{5}$. I have done the following:

.
.
.

Then we have $\displaystyle{\frac{1}{5}-1-3\cdot 4\equiv 4^3a_3 \pmod {4^4} \Rightarrow -\frac{4}{5}-3\cdot 4\equiv 4^3a_3\pmod {4^4}}$.
We divide by $4$ and we get $\displaystyle{-\frac{1}{5}-3\equiv 4^2a_3\pmod {4^3}\Rightarrow -\frac{16}{5}\equiv 4^2a_3 \pmod {4^3}}$, then we divide by $4^2$ and we get $\displaystyle{ -\frac{1}{5}\equiv a_3 \pmod 4}$. Then we multiply by $5$ and we get $\displaystyle{ -1\equiv 5a_3 \pmod 4\Rightarrow 5a_3\equiv -1 \pmod 4 \Rightarrow {\color{red}a_3\equiv 3 \pmod 4 }}$. The only residue of division by $4$ that solves this is $\color{red}a_3=\Huge 3$.


Then we have $\displaystyle{\frac{1}{5}-1-3\cdot 4-4^3\equiv 4^4a_4 \pmod {4^5} \Rightarrow -\frac{4}{5}-3\cdot 4-4^3\equiv 4^4a_4\pmod {4^5}}$.
We divide by $4$ and get $\displaystyle{-\frac{1}{5}-3-4^2\equiv 4^3a_4\pmod {4^4}\Rightarrow -\frac{16}{5}-4^2\equiv 4^3a_4 \pmod {4^4}}$, then we divide by $4^2$ and get $\displaystyle{ -\frac{1}{5}-1\equiv 4a_4 \pmod 4^2 \Rightarrow -\frac{6}{5}\equiv 4a_4 \pmod {4^2}}$. We multiply then by $5$ and get $\displaystyle{ -6\equiv 20a_4 \pmod {4^2}\Rightarrow 20a_4\equiv -6 \pmod {4^2} \Rightarrow 4a_4\equiv 10 \pmod {4^2} }$.
This doesn't have a solution, right?

Where have I done something wrong? (Wondering)
It looks as though the coefficients will be alternately $3$ and $0$ (after the initial $1$).
 
  • #3
Show that 1/5 is ...
View attachment 6286

Using () to represent the repeated digits under the vinculum and everything base 4.
Then show that 1/5 is ...
(03)1.(0)

Step 1: Calculate 4/5 (base 4)

Code:
      0.3030...
    ------------
11 / 10.0000...
      3 3
      ---
        100
         33
        ---
          etc.


Step 2: Calculate -4/5 (4-adic)
Notice that
if n = ...3030.3030...
then 100 n = n
Therefore n=0
and
-4/5 = (03)0.(0)Step 3: Calculate 1/5 (4-adic)
using 1/5 = 1+(-4/5)
1/5 = (03)1.(0)Note: Quaternary and 4-adic number expansions have different metric spaces. However, they share the same arithmetic for the + and * operations.
 

Attachments

  • Capture.JPG
    Capture.JPG
    3.7 KB · Views: 56
Last edited:

1. What is a 4-adic expansion?

A 4-adic expansion is a way of representing a real number using a base of 4 instead of the usual base 10. This means that each digit in the expansion represents a multiple of a power of 4, rather than a power of 10.

2. Why is it important to find the 4-adic expansion of a number?

Finding the 4-adic expansion of a number can be useful in number theory and cryptography. It allows us to represent numbers in a different way that may reveal patterns or relationships that are not apparent in the usual decimal representation.

3. How is the 4-adic expansion of a number calculated?

The 4-adic expansion of a number is calculated by dividing the number by powers of 4 and recording the remainders. This process is repeated until the remainder becomes 0 or the desired level of precision is reached.

4. What is the 4-adic expansion of $\frac{1}{5}$?

The 4-adic expansion of $\frac{1}{5}$ is 0.310310310310..., where the digits continue infinitely repeating the pattern 310. This is because in base 4, $\frac{1}{5}$ can be represented as 0.310, with the 3 representing a multiple of $4^0$, the 1 representing a multiple of $4^{-1}$, and the 0 representing a multiple of $4^{-2}$.

5. How can the 4-adic expansion of a number be used in cryptography?

The 4-adic expansion of a number can be used in cryptography to create more secure encryption algorithms. By representing numbers in a different base, the patterns and relationships in the usual decimal representation are scrambled, making it harder for hackers to crack encrypted messages.

Similar threads

Replies
4
Views
922
  • Precalculus Mathematics Homework Help
Replies
2
Views
801
  • Precalculus Mathematics Homework Help
Replies
4
Views
940
  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
819
  • Precalculus Mathematics Homework Help
Replies
2
Views
838
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
759
  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
Back
Top