On a Generalization of Hofstadter ’ s Q-Sequence : A Family of Chaotic Generational Structures

Hofstadter Q-recurrence is defined by the nested recurrence Q n =Q n −Q n − 1 +Q n −Q n − 2 , and there are still many unanswered questions about certain solutions of it. In this paper, a generalization of Hofstadter’s Q-sequence is proposed and selected members of this generalization are investigated based on their chaotic generational structures and Pinn’s statistical technique. Solutions studied have also curious approximate patterns and considerably similar statistical properties with Hofstadter’s famous Q-sequence in terms of growth characteristics of their successive generations. In fact, the family of sequences that this paper introduces suggests the existence of conjectural global properties in order to classify unpredictable solutions to Q-recurrence and a generalization of it.


Introduction
Since the enigmatic concept of meta-Fibonacci has been introduced by Douglas Hofstadter with the invention of the original Q-sequence (A005185 in OEIS), in the literature, there are many studies which focus on nested recurrence relations whose behaviors can alternate dramatically [1][2][3][4][5].There are many examples of meta-Fibonacci sequences like Hofstadter-Conway $10000 sequence (A004001), Conolly sequence (A046699), Tanny sequence (A006949), Golomb's sequence (A001462), Mallows' sequence (A005229), etc. [6][7][8][9][10].Some of meta-Fibonacci sequences are highly chaotic and unpredictable while some of them have completely predictable fashion such as quasipolynomial solutions to the Hofstadter Q-recurrence [11][12][13] and slow V-sequence (A063882) that is also 2-automatic [14].Among the solutions which have an erratic nature, certain variants have underlying structures that contain conjecturally interesting approximate properties such as scaling, self-similarity, and period doubling [15,16].For these kinds of solutions of nested recurrences, known mathematical techniques for solving difference equations do not work because of the nature of nesting although there are alternative definitions for the generational structure of a chaotic meta-Fibonacci sequence [15][16][17][18][19].The existence of universality classes for chaotic meta-Fibonacci sequences determined by common characteristics of their respective generational structures is a mysterious open question although there are a variety of attempts in order to search an affirmative answer for this question, partially [15][16][17].Since the certain solutions to the Hofstadter Q-recurrence are investigated in this study, it would be nice to remember the scatterplots of Hofstadter's original Q-sequence and the "Brother" sequence (A284644) that is defined by 1).Although there are many solutions to the Hofstadter Q-recurrence with different initial conditions [9, 11-13, 17, 20], these two solutions and their connection based on their generational structures provide a variety of interesting experimental results [17].
This paper is structured as follows.In Section 2, Hofstadter's Q-sequence is generalized according to the initial condition formulation and an intriguing sequence family is introduced.Then, in Section 3.1 and Section 3.2, selected members of this curious sequence family are studied based on their generational structures with the statistical perspective.Finally, some concluding remarks are offered in Section 4.

A Generalization of Hofstadter's Q-Sequence according to Initial Conditions
Hofstadter's Q-sequence is a very intriguing solution to the Q -recurrence, and it is believed that the most notable meta-Fibonacci sequence is Hofstadter's Q-sequence [11].Indeed, many famous mathematicians such as Erdős, Guy, and Sloane found it really very interesting [21,22].At this point, it is natural to ask, "Can a generalization of solutions to the Q-recurrence be based on the initial conditions for variants that behave in a similar fashion with a Q-sequence?"If the answer is yes, there can be a collection of curious chaotic patterns and generational structures hidden in genes of the Q-recurrence.Solutions with three initial conditions are studied before [17].In order to go further, computer experiments can be made with four and five initial conditions but empirical results suggest that there is no sign of any sequence family with generational common characteristics except Q-sequence and "Brother" sequence (A284644) although there are some more chaotic solutions such as A278056 [9,11].So experiments suggest that computation of all living permutations of initial conditions is not very fruitful in order to discover a solution family that has members which behave very similar with the original Q-sequence.Also, recently, the Hofstadter Q-recurrence and a generalization of it are studied with initial conditions 1 through N and detailed analysis showed that living solutions have notably different properties from the Q-sequence with the increasing values of N [11].At this point, it would be nice to remember if lim n→∞ Q n /n exists, it must be equal to 1/2 [13].From this fact, initial conditions which are n/2 may be meaningful for the Hofstadter Q-recurrence.Additionally, this approach inspired by reasonable heuristic can be generalized with the initial condition formulation as below.
2 is extremely wild sequence that there are no signs of any underlying structure (see Figure 2).However, for d ≥ 4, many curious chaotic patterns fascinatingly start to appear for S d,2 n = Q d,2 n − n/2 (see Figure 3).In the next section, certain members of this family are investigated in order to search the signs of a similar inheritance with the original Q-sequence although Q 2,2 exhibits quite different experimental characteristics, at least in the range of this study.
In this study, solutions to Q d,2 n and Q d,3 n recurrences will be studied with certain examples while Q d,l n continues to provide intriguing generational structures with an increasing level of complexity for l ≥ 4.

Analysis of Certain Members of Q d,l n Family
3.1.Selected Solutions to Q d,2 n .Approximate self-similar block structures of certain members of the Q d,2 n family can be studied thanks to auxiliary sequences similar with different works which give definitions of generations [15][16][17][18].In here, the main purpose is to model and compute the rescaling of amplitudes for self-similar successive block structures of S d,2 n for the selected values of d which are in the range of this study, since this computation will give a chance to search a conjectural global property for certain solutions to the Hofstadter Q-recurrence.Certain auxiliary sequences can be used in order to compute statistical quantities which this paper focuses on.Experiments that use alternative definitions for the determination of generational boundaries are also carried out precisely.Since the results are mainly similar in terms of the values of Table 1, only   5 in order to observe the considerable similarities between α values with the increasing number of generations.These results are very close to the values that are reported before [15][16][17].In other words, the initial condition pattern that this study focuses on provides significant behavioral similarities with the original Q-sequence in       1.
Selected Solutions to Q d,3 n .In this section, certain members of Q d,3 n are analysed thanks to properties of their generational structures.It is easy to show that Q 1,3 n and Q 2,3 n die immediately since Q 1,3 4 = 6 and Q 2,3 66 = 73.See Figure 6 for Q 3,3 n that is highly chaotic sequence although there appear to be some weak signs of order in it.Then, more orderly generational structures evolve in terms of the determination of main blocks (see Figure 7 for curious examples where S d,3 n = Q d,3 n − 2 * n/3).In that case, in order to detect the limits   8 and Figure 9 in order to observe the considerable similarities between α values that are different from the values which are reported in the previous section since the recurrence is

Conclusion
In the literature, there are many studies that are primarily concerned with finding initial conditions to corresponding meta-Fibonacci recurrences where the solutions have a provable universal property such as having an ordinary generating function and being slow [11,12,20].On the other hand, properties of Hofstadter's Q-sequence depend on experimental studies because of its complicated nature that is extremely resistant to known mathematical proof techniques [15][16][17]19].In this study, a variety of evidences are provided in order to claim the existence of a family that certain members have considerably similar conjectural properties with famous Q-sequence.A generalization of Q-sequence according to the initial condition patterns which are determined by asymptotic properties of recurrences is introduced, and meaningful statistical results are provided in terms of the classification of chaotic solutions to recurrences that this study focuses on.
Definition 2. Let W d,2 n be the least m such that the minimum of father m − Q d,2 m − 2 and mother m − Q d,2 m − 1 spots is equal or greater than n.Definition 3. Let P d,2 n = W d,2 P d,2 n − 1 where d ∈ 4, 7, 10 for n > 1, with P d,2 1 = 1.See Tables 2-4 for the corresponding values of P d,2 n .The given sequence S d,2 n = Q d,2 n − n/2, S d,2 n k denotes the average value of S d,2 n over the kth generation boundaries that are determined by P d,2 n for corresponding Q d,2 n and define α k, S d,2 n as below.See Table 1 and Figure 2 Complexity one method's table is reported in here.Corresponding method's definitions follow as below.See Figure4for some examples of partitions.

Table 2 :
The values of P 4,2 n sequence for n ≤ 25.

Table 3 :
The values of P 7,2 n sequence for n ≤ 25.

Table 4 :
The values of P 10,2 n sequence for n ≤ 25.

Table 6 :
The values of g 7,3 n sequence for n ≤ 15.

Table 5 :
The values of g 4,3 n sequence for n ≤ 15.

Table 7 :
The values of g 10,3 n sequence for n ≤ 15.