In a post on January 17th 2019 title The Golden Key, I wrote:
I came across the Golden Key when perusing Kumar Asok Mallik's book The Story of Numbers during his introduction to prime numbers on page 23. This is quite an interesting book that I've added to my Calibre library ... If I can read an entry a day from this book, I'll soon be a wiser man mathematically.
Well it's no surprise that I didn't read an entry a day and in fact I only stumbled upon the post and its reference to Mallik's book when searching for posts related to
![]() |
Figure 1 |
The diagram makes sense when the following diagrams are considered in Figures 2, 3 and 4. The tube-like structures arise when
![]() |
Figure 2 |
![]() |
Figure 3 |
![]() |
Figure 4 |
Looking at Figure 4, it's clear in this system that 37 is closer to 10 than it is to 36. As the quanta article explains it:
Mallik uses the 7-adic number system for illustration purposes. Here he talks about negative numbers in such a system:The size of a-adic number is determined by the prevalence of in its prime factorisation. Numbers with more s are smaller. For example, in the 3-adics, is “small” because it has many 3s in its prime factorisation (486 = 2 x 3 x 3 x 3 x 3 x 3). Another way to think about size is to think about which numbers are close to 0. In the -adics, integers are closer together when they share a room at higher levels of the tower. The numbers 0 and 486 share a room up to the fifth level, whereas 0 and 6 share a room on only the first level — indicating that 0 is closer to 486 than to 6 and thus 486 is smaller than 6.
A surprising fact is that for-adic integers we do not need any negative sign to indicate negative integers. We determine the negative of a positive integer by determining what needs to be added to this positive integer to yield zero, i.e., by subtracting this number from 0. For example 7-adic expansion of −1 can be written as an integer . . . 6 6 6 6 with infinitely many 6’s on the left. We can verify this result by adding 1 to this 7-adic integer:
Thus we can write that· · · 6 6 6 6 + · · · 0 0 0 1 = · · · 0 0 0 0
Now we show that some-adic integers also represent rational fractions like, say, 1/2. The 7-adic integer · · · 3 3 3 4 with infinitely many 3’s represents 1/2, as can easily verified by multiplying this number by 2 or by adding this number to itself:
· · · 3 3 3 4 x 2 = · · · 0 0 0 1
Mallik goes on to mention that
![]() |
Figure 5: source |
![]() |
Figure 6: source |
![]() |
Figure 7 |
![]() |
Figure 9: permalink |
To change a decimal fraction into a so-called "basimal" is not difficult. Using 1/2 and base 7 as an example, here is the SageMath code in blue with output in red:
ring=RealField(30)ring(1/2).str(base=7)'0.333333333333'
The 30 just indicates the degree of precision. We see that the 7-ary form of 1/2 is
If there is a decimal part in addition to the integer then both parts can be processed together:
n=12.5
n.str(base=7)
'15.333333333333333333'
Changing from 7-ary form to 7-adic form we get:
No comments:
Post a Comment