Disclaimer: To our knowledge we have not found the material presented here laid out here presented in completeness elsewhere. However, we should state that we do not follow the mathematical literature as a professional and could have missed stuff.

**Introduction**

has captivated human imagination for a long time. Perhaps, its earliest mention is seen in the tradition of the Yajurveda, which provides an approximation for the number in the form of the convergent for construction of diagonals of squares in the vedi (altar) for the soma ritual. Yet, it has secrets that continue to reveal themselves over the ages. Here, we shall describe one such, which we stumbled upon in course of our study of sequences inspired by Nārāyaṇa paṇḍita, Douglas Hofstadter and Stephen Wolfram’s work.

A fractional number lends itself to an interesting operation (the floor-difference sequence; we had earlier described it here; an operation studied by Wolfram),

Here the integer sequence is defined by performing the above operation. If we use results in the sequence,

1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1…

This pattern of 1 and 2 is not periodic. Nevertheless, it has defined pattern. Wolfram showed that it can be produced by a substitution system entirely independently of , namely,

and

Notably, the ratio of the number of 1s to 2s in the string produced by the floor-difference operation (or equivalently the substitution system) converges to . Thus, the numbers of 1s and 2s in the sequence generated by the above process results in convergents that are like the partial sums of the continued fraction expression of ,

Thus, in , the number of 1s is 41 and the number of 2s is 29. This gives us a convergent for as which is the 4th partial sum of the above continued fraction.

**Case-1: Summation sequences defined on the floor-difference operation
**

Next we define a second integer sequence based thus,

,

i.e. we take the sum of all 1s present till position in sequence . Thus, for the above 20 terms of the corresponding terms of are,

1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 11, 11, 12…

The basic idea for this procedure is inspired by Hofstadter sequences and the process to generate the tiling fractals described by Rauzy. We notice right away that the value of increases with in a step-wise fashion along a linear growth line. But what is the constant of this linear growth?

We can derive this thus: Let be the number of 1s and be the number of 2s in a sub-sequence of of length . From above we know that the ratio . Hence, we may write,

With this constant , we can now “rectify” the sequence i.e. remove its linear growth by straightening it along the x-axis and capture only its true oscillatory variation along the y-axis (see this earlier account for this). Thus, we get the rectified sequence,

Figure 2 shows the first 500 terms of this sequence.

We observe that while takes a wide-range of positive and negative values they are all contained within a fixed bandwidth of 1. However, the values of are not symmetrically distributed about 0. The highest positive value is and the lowest negative value is .

We next perform a serial summation operation on along the sequence. Given the above asymmetry in with respect to negative and positive value take by it, we again get a sequence oscillating about a linear growth line. This time we can rectify by taking the midpoint of the bandwidth of , i.e.,

Thus, we defined the rectified sequence as:

Figure 2 shows a plot of up to different values of . Figure 3 shows the same for a large cycle, (see below).

We see that has an intricate fractal structure resembling rising gopura-s around a central shrine. A closer examination reveals that the fractal structure of has cycles of increasing lengths, i.e. the same structure re-occurs with greater intricacy at the cycle of the next length (Figure 2, 3). We determined that the lengths of the cycles centered on the highest successive values of are 27, 167, 983, 5739, 33435… This led us to establish that ratio of successive cycle lengths converges to . This number is the larger root of the quadratic equation .

We can do the same thing with the Golden Ratio which has the continued fraction expression,

In this case, the sequence can be generated by the well-known substitution rule,

Here the ratio of 2s to 1s in converges to . We can likewise construct by counting the number of 2s as we walk along up to a given . As with , we can rectify to get . Here again, the bandwidth of is 1 but the values it takes are asymmetrically distributed about 0 with a maximum of and minimum of . This gives us the rectification to obtain for ,

Figure 4 shows the fractal structure of for comparable to that which we obtained for

We then established that the fractal cycles for of are of lengths: 32, 87, 231, 608, 1595, 4179, 10944… when defined on the basis of the successive highest values attained by . Thus, the ratio of successive cycle lengths converges to in the case of the Golden Ratio fractal. is the root of the quadratic equation . This shows a similarity to the above convergent of the cycles of the fractal. Further, while that convergent can be expressed as , this one for the Golden Ratio can be similarly expressed as

This leads to the conjecture that all such fractals generated from floor-difference-derived sequences of quadratic roots have as convergents such roots of quadratic equations with a relationship like the above ones to the original root.

There are some notable features of the distribution of the values of :

1) The number of values is always more than those for a given fractal cycle. This markedly more for the of as opposed to that of .

2) The distribution of the values taken by is approximately normal (Figure 5; shown for of ).

3) Most notably, the fractal displays structures with quasi-mirror symmetry (figure 2, 3, 4), when we consider the distribution of values around given central points. For the case, convenient central points can be easily found in the form of the highest values reached in successive cycles (also the values on which we centered our cycles). To illustrate this quasi-mirror symmetry we show below 10 values on either side of , the central point of the cycle of length 5739:

: 1.038574, 0.603576, 0.582792, 0.976221, 0.783863, 1.005719, 0.641789, 0.692073, 1.156569, 1.03528

: 1.328204

: 1.035341, 1.156693, 0.692257, 0.642036, 1.006027, 0.784233, 0.976652, 0.583284, 0.60413, 1.03919

We notice that the corresponding mirrored values are not equal on either side but very close. Further, the difference is systematic, i.e. the values on one side are consistently higher than their counterparts on the other side. The pair closest to the central point (1.03528, 1.035341) differs by 6.158394 . The next pair by twice that amount, the next by thrice, the next by 4 times and so on. Thus, as one moves away from the center there is a linear increase in the asymmetry by a constant amount until one reaches the ends of the cycle. By the end of a cycle the difference between the quasi-mirror symmetric pairs reaches a maximum of 0.17. Thus, the minimum difference, i.e., the difference between members of the pair closest to the center-point is , where is the length of that cycle. Hence, as the cycles get larger the symmetry increases closer to the central point (Can be seen visually in above figures). Similarly, for the of we can establish the axis of mirror-symmetry as the being the central point of a cycle. Here too, the same dynamics as reported above for are observed, but the maximum difference of a pair for a cycle is 0.22 and accordingly for a given cycle of length the minimum difference of the quasi-mirror symmetric pairs is . We have not been able to figure out the significance of these maximum difference values for either sequence and remains an open problem. Moreover, this structure of is of some interest because it seems asymmetry (or randomness) or perfect symmetry are way more common than quasi-symmetry which we encounter here.

**Case-2: Product-division floor-difference**

Indeed, contrasting real symmetry is obtained in a related class of sequences that we discovered. We shall describe their properties in the final part of this article. Instead of the floor-difference described above, we use a related kind of operation using irrational square roots of integers define the following sequence:

This is a sequence of 0s and 1s: 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0…

Based on we can define, along the lines of what we did above, another sequence thus:

It is the count of the number of 1 up to the th term of sequence . It is an integer sequence of the form: 1, 1, 1, 2, 3, 3, 4, 5, 5, 5, 6, 6, 6, 7, 8, 8, 8, 9, 9, 9, 10, 11, 11, 12, 13, 13, 13, 14, 15, 15…

As with the above cases, we observe that the value of grows in a step-wise linear fashion with . Thus we can again rectify it by determining its constant of this linear growth. We observe that in this case the as an equal number of 0s and 1s for a given length. Hence, we get the rectification constant as . Thus, we can define a further sequence,

We multiple by 2 instead of using for rectification because we can that way keep an integer sequence.

Then, we define the next sequence based on thus:

Since the distribution of in this case is symmetric about 0 we do not need any further rectification in defining and it remains an integer sequence. In this case the values of define a symmetric fractal with a bifid peak-like appearance (Figure 6).

Here again, the fractal repeats itself at each cycle, with increasing detail as the length of the cycle increases. However, at every cycle the fractal remains perfectly symmetrical unlike the above-discussed cases (Figure 7). We can define the length of each cycle for this fractal based on the palindromic structure of for each cycle: Each cycle begins and ends in the sub-sequence: 1, 1, 0, 0, 1, 1

We determined that the cycle-lengths show the progression: 26, 166, 982, 5738, 33458, 195022…

Strikingly, the maximum value reached by for each of these cycles shows the progression: 6, 35, 204, 1189, 6930, 40391…

Thus, the ratio of both successive cycle-lengths and the maximum height reached in successive cycles, remarkably, converges to — this is the same as the convergent for the above fractal derived from the floor-difference operation.

Notably, the successive partial sums of the continued fraction for are,

6, , , , , , , , , , ,

We notice that the maximum value reached in each cycle is captured by the denominator and numerator of every 1, 3, 5, 7… partial sum. The numerator minus 3 of every 2, 4, 6 … sum captures the cycle-length: the reduction by 3 is evidently because we defined the cycle based on the re-occurrence of the palindrome.

This kind of sequence derived from the product and division by an irrational square root of an integer can be generated from such square roots too. Using yields a fractal with a single peak (Figure 8).

Here, the cycle-lengths and maximum value attained by the converges to . In the case of we also have minimum values of , which are (Figure 8); interestingly, the ratio of minimum values from successive cycles also converges to . This number is the root of the quadratic equation

In conclusion, we find that two different operations of the floor function on irrational square roots or roots of quadratic equations yield fractals, whose cycle-lengths are convergents for roots of quadratic equations, which can be constructed based on the original root. The formal proof of this might be of interest to mathematicians. In the second case this also relates to the maximum value attained by the sequence . Finally, it is notable that in the first case the values of show a certain quasi-mirror symmetry and an approximately normal distribution. Despite this overall distribution, the actually values are arranged in precise manner as to generate a fractal structure. This might yield an analogy to natural situations where a normally distributed population could organize into a highly, structured pattern.