One of the pleasures of an unstructured youth in the pre-computer era was what we called calculator games. As our father took his prized calculator with him to work we only got a little time with it in the evenings. However, we got our break when a relative gifted us a Japanese solar-powered calculator. The roots (pun intended) of this note lies in the games that followed: One of those was determining the consequences of simple functional iterations. We soon realized that these are intimately related to some familiar and not so familiar sequences. Some of them were mysterious and beyond our calculator efforts. We finally cracked them and obtained a more formal understanding of the convergences only when our mathematical knowledge improved and we were in possession of a computer in the late phase of our youth. Consider maps which are iterates of simple fractional functions of the form:

If , , where is the Golden Ratio

One can see that the iterates of this map are sequence of fractions: 0, 1, 1/2, 2/3, 3/5, 5/8, 8/13, 13/21, 21/34. One notices that its terms are derived from the famous mātrā-meru sequence.

If

This sequence of fractions can be derived from the famous Jacobsthal sequence: : **1, 3, 5, 11, 21, 43, 85, 171…**

Like the mātrā-meru, the Jacobsthal sequence appears in numerous seemingly unrelated places in mathematics.

If ,

Here

One observes that these fractions are related to the sequence :

** 1, 1, 4, 7, 19, 40, 97…**

If ,

Here

These fractions are related to the sequence :

**1, 1, 2, 3, 4, 8, 11, 15, 30, 41, 56, 112, 153…**

If , ;

Here

These are related to the sequence :

**1, 1, 3, 4, 5, 15, 19, 24, 72, 91, 115, 345, 436, 551…**

Now, one can use the substitution to convert our map into an equivalent but alternative map:

By writing the above map becomes a linear difference equation:

Such a linear difference equation defines the quadratic equation: with roots:

Thus, the map in the variable will be attracted to the greater root and repelled by the lesser root for any starting value of , except when ; interesting aspects of the convergence of this type of map was discussed earlier. Now, given that , we get the attractor of our original maps in to be:

Now if then will be a complex number. Given that our original maps of the form are defined in real space , what will happen to the iterates in such a case? Consider an example of and . Here the map does not converge to a single attractor but cycles between 3 values: -1, 1/2, 2. Now, if we use a different we get 0, 1, . Thus, the 3 values that the iterates cycle through depends on but the cycle length is always .

Consider another case where and . Here again the map does not converge to a single value but cycles through 6 different values: 0, 1, 3/2, 2, 3, . Again the cycle length is always 6 though the actual values change with . This cycling in the above examples immediately suggests a connection between the arithmetic operation of our map and trigonometry. This connection becomes clear from the form takes:

If

If we have a complex number then it defines an angle in the complex plane. Thus we get the angle corresponding to to be:

Since for our purposes the sign of the angle does not matter we can work with . As an aside, we can also express this angle as .

Now when is real, . Thus, and our map converges to a single value, i.e. it has cycle length 1.

Instead, when say . Thus, and our map has cycle length 3. Similarly, when . Thus, and our map has a cycle length 6.

What if does not generate a which is a rational sector of a circle? The simplest such example that is easily apprehended is . In such a case the map would never converge to single value or a cycle. However, we observe remarkable behavior where it oscillates through several overlapping cycles which are defined by “explosive'', much greater than average values (Figure 1-4).

Figure 1 illustrates the cycle of length 13 (marked by red dots). One of these starts at and decays in terms of absolute magnitude at every 13th iterate thereafter: 26, 39, 52… Another starts at and increases in absolute value every 13th iterate thereafter: 18, 31, 44, 57… If one observes closely one see that there are smaller barely discernible cycles of 5, 3 and 2 nested within those of length 13.

Figure 2 shows the next cycle of length 213 again increasing or decreasing in absolute magnitude at every 213th iterate (marked by red dots). Within each cycle of length 213 one can discern 16 cycles length 13.

Figure 3 shows the next set of cycles of length 1291 (orange) and 1504 (red). One can discern 6 cycles of length 213 in each of the 1291 length cycles. There is a single cycle of length 1291 in that of length 1504.

Figure 4 shows even larger cycles of length 4299 (green) and 10102 (red). The former includes 2 cycles of length 1504 within it. Likewise, the cycle of length 10102 includes 2 cycles of length 4299.

How do we derive these cycles lengths with no clear cut pattern from first principles? For the map defined by , the characteristic angle . Thus, the cycles correspond to the numerators of the successive rational approximation fractions from the continued fraction representation of . Thus, we get the sequence of the cycle lengths to be:

**2, 3, 5, 13, 213, 1291, 1504, 4299, 10102, 135625, 145727, 28135, 989783…**

More generally, when is not a rational sector of a circle the map shows cycles of increasing length that are specified by the numerators of the successive rational approximations obtained from the continued fraction for .

We also notice the following curious pattern typical of rational fraction approximations for the successive cycle lengths:

Let be the length of the cycle . Thus,

Hence, will give the number of repeats of the previous cycle which are contained in .

Finally, let us consider the intertwined maps of the form where we alternate through :

This alternation forces a convergence to a point . Doing the algebra we can obtain,

Thus, as examples we have:

, where is the Golden Ratio.

See also:

Golden cobwebs

Some Nārāyaṇa-like convergents and their geometric and trigonometric connections