WorksMathematics
Rotating-Memory Fibonacci Numbers and Periodic Tilings
Abstract
We introduce and study the rotating-memory Fibonacci numbers, a periodic variable-order analogue of the Fibonacci sequence in which the number of preceding terms used in the recurrence changes cyclically with the index. Despite this varying memory, the resulting sequences exhibit a remarkably rigid structure. We derive closed forms, rational generating functions, arithmetic properties, and exact growth behavior, and show that the sequence decomposes naturally into geometric subsequences. We also develop combinatorial interpretations in terms of periodically constrained tilings, and restricted compositions, including bijective explanations for the multiplicative structure of the sequence. In addition, the first two nonclassical periods admit natural geometry-driven realizations: the period-2 sequence arises from monomer–dimer tilings of a triangular chain, while the period-3 sequence is related to tilings of a double hexagon strip by single and double hexagons. These connections provide geometric interpretations of the rotating recurrence in which the periodic behavior is induced by the underlying structures themselves, and suggest a broader problem of constructing analogous models for higher periods.
Introduction
The Fibonacci sequence is one of the most extensively studied integer sequences, and its simple second-order recurrence has inspired numerous generalizations in number theory and combinatorics. One classical direction is to increase the fixed order of the recurrence, replacing the sum of the two preceding terms by the sum of a prescribed number of preceding terms. Higher-order Fibonacci sequences have been studied for many decades; an early systematic treatment, including a matrix formulation, was given by [9]. These sequences and their variants continue to provide a natural setting in which recurrence relations, generating functions, matrix methods, and combinatorial enumeration interact.
Tilings provide one of the most useful combinatorial interpretations of Fibonacci-type recurrences. The familiar interpretation of Fibonacci numbers by tilings with monominoes and dominoes extends naturally to many generalized recurrence sequences; see, for example, Benjamin and Quinn [4]. Benjamin and Heberle [3] developed tiling arguments for higher-order -Fibonacci numbers, while Benjamin, Derks, and Quinn [2] showed more generally how linear recurrences can be represented and studied through weighted tiling models.
Most familiar Fibonacci generalizations retain a recurrence of fixed order. A different possibility is to allow the amount of memory itself to vary with the index. This direction was considered by Emerson [7], who studied variable order Fibonacci-type recurrences in which the th term is obtained by summing a variable number of preceding terms. His framework allows considerable freedom in the choice of the order function and leads to a broad range of possible growth behaviors. The present work focuses instead on a structured subclass in which the memory length varies periodically and consecutively.
More precisely, we consider a family in which, for a fixed period , the memory length rotates through and then returns to . We call the resulting sequences Rotating-Memory Fibonacci numbers, or RM-Fibonacci numbers. The periodicity of the memory rule makes this family sufficiently flexible to differ substantially from fixed-order Fibonacci sequences, while at the same time imposing enough structure to permit an explicit analysis. One of the main themes of the paper is that a periodically varying memory length can conceal a remarkably simple multiplicative structure.
The combinatorial viewpoint plays an equally important role. We introduce a one-dimensional tiling model in which the admissible length of a tile depends periodically on the position at which the tile ends. This endpoint-dependent rule translates the rotating recurrence directly into a last tile decomposition. The same model can also be expressed in terms of restricted compositions, where the admissibility of a part depends on the partial sum at which it terminates. These interpretations make it possible to understand some of the algebraic behavior of RM-Fibonacci numbers bijectively rather than only through recurrence manipulations.
Beyond these general position-dependent models, the first two nonclassical periods admit natural geometric realizations in which the periodicity is induced by the underlying structure itself. For period , the RM-Fibonacci sequence is, up to the initial shift recorded in Table 1, sequence A038754 in The On-Line Encyclopedia of Integer Sequences [10]. We show that its terms enumerate monomer–dimer tilings of a triangular chain when one boundary vertex is prescribed to be a monomer.
Table 1.
| OEIS | ||
| 1 | 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987 | A000045() |
| 2 | 0, 1, 1, 2, 3, 6, 9, 18, 27, 54, 81, 162, 243, 486, 729, 1458, 2187 | A038754() |
| 3 | 0, 1, 1, 2, 4, 8, 12, 24, 48, 72, 144, 288, 432, 864, 1728, 2592, 5184 | A354541() |
| 4 | 0, 1, 1, 2, 3, 6, 12, 24, 36, 72, 144, 288, 432, 864, 1728, 3456, 5184 | - |
| 5 | 0, 1, 1, 2, 4, 6, 12, 24, 48, 96, 144, 288, 576, 1152, 2304, 3456, 6912 | - |
Table 1. Initial values of the RM-Fibonacci sequences for periods .
| hexagonal configuration | |
| 1 | , |
| 2 | , |
| 3 | , |
| 4 | . |
Table 1.
A related phenomenon occurs for period . Hexagonal tilings have previously been used to realize several Fibonacci-type sequences. Jin and Dresden [8] used hexagonal double-strip tilings to obtain Tetranacci identities, while Došlić and Podrug [5] developed tiling models on honeycomb strips leading to Tribonacci, Padovan, Narayana’s cow, and related sequences. In our setting, the shifted period- RM-Fibonacci sequence coincides with A354541, which enumerates tilings of a double hexagon strip by single and double hexagons. Together, the triangular-chain and double-hexagon models suggest that rotating memory may admit natural geometric realizations beyond the explicitly position-dependent tiling construction.
The remainder of the paper is organized as follows. Section introduces the RM-Fibonacci
numbers and illustrates the construction for several small periods. Section 3 develops the structural properties of the recurrence and establishes the period-collapse phenomenon. Section 4 derives closed forms, arithmetic properties, generating functions, and growth results. Section 5 develops the combinatorial interpretations in terms of endpoint-periodic tilings, and restricted compositions, together with bijective explanations of the underlying multiplicative structure. Section 6 gives a geometric realization of the period-2 sequence in terms of monomer–dimer tilings of a triangular chain. Section 7 focuses on the period-3 case and its connection with tilings of a double hexagon strip. Finally, Section 8 summarizes the main findings and discusses open problems and directions for further research.
Rotating-Memory Fibonacci Numbers
We begin with the basic definition. Throughout the paper, if an index is negative, the corresponding sequence term is understood to be zero.
Definition 1. Let . The Rotating-memory Fibonacci sequence of period is the sequence defined by
where for all .
Thus the memory length is the periodic function , whose values, according to the residue class of , are .
For , we recover the classical Fibonacci sequence, since for every . Hence
with and .
For , the memory length alternates between 2 and 3. Therefore
with , , and for .
For , the memory length rotates through 2, 3, and 4. Hence
with , , and for .
Initial values of the RM-Fibonacci sequences for the first few periods and their OEIS correspondences are given in Table 1.
Although the rows look rather different near the origin, the structure after one complete period is remarkably rigid.
We first determine the initial transient.
Lemma 1. For , the initial terms of the RM-Fibonacci sequence satisfy
Proof. Let . Since , the memory length at is . All terms with negative indices vanish, so
Since and , it follows successively that , , , and an immediate induction gives for .
At the cycle resets, so the recurrence has order 2:
For , the formula just proved gives
The cases and follow directly from the initial values.
The next section shows that after this short initial phase no complicated high-order analysis is needed.
Collapse of the Rotating Recurrence
The main structural fact is that consecutive terms are related by simple multiplicative factors. We distinguish between a reset position, meaning an index divisible by , and all other positions.
Lemma 2. Let , and let satisfy . Then . Proof. Write with . By Definition [1],
Since , the recurrence at has memory length , and therefore
Consequently,
Thus every time the memory increases by one, the sequence simply doubles. Only the reset from memory back to memory 2 behaves differently.
Lemma 3. Let , and let satisfy . Then .
Proof. At a reset position the memory length is 2, and hence
Since , Lemma [2] gives . Therefore , and hence
We can now state the main structural theorem, called the period-collapse theorem.
Theorem 1. Let . Then, for every ,
Proof. Consider the successive transitions . Among the indices there is exactly one multiple of . At that index, Lemma 3 contributes the factor . Each of the other transitions occurs between resets, and Lemma 2 contributes a factor 2.
Since , all the indices involved are beyond the exceptional initial positions. Therefore
It is useful to introduce the period multiplier . Theorem 1 then reads simply
This result shows that the variable order recurrence [1], whose largest memory length is , eventually reduces to the sparse constant coefficient recurrence
In particular, each residue class modulo evolves geometrically.
Corollary 1. Let , , and . Then
Proof. By Lemma 2, we have with . Repeated application of Theorem 1 now gives
Thus the entire sequence beyond its initial transient is obtained by repeating the same block shape , while multiplying successive blocks by .
For , Lemma 1 gives an especially simple formula.
Corollary 2. Let , , and . Then
Proof. Using and in (4), we obtain
Collecting powers of and gives (5).
Consequently, for every , all terms after the initial transient are 3-smooth; that is, their only prime divisors are 2 and 3.
The period-collapse theorem also determines the consecutive term ratios exactly.
Corollary 3. Let . For every ,
Consequently, the sequence of consecutive term ratios is periodic with period from onward.
In particular, the oscillatory growth is not merely asymptotically periodic: the periodic modulation becomes exact after finitely many terms. This observation will allow us to derive closed forms, generating functions, and asymptotic results without recourse to periodic matrix products.
Note that periodic dependence on the index has also been studied from a different perspective. Panario, Sahin, Wang, and Webb [11] introduced general conditional recurrences, in which the coefficients of a fixed-order linear recurrence depend on the residue class of the index. Such sequences satisfy a constant coefficient recurrence and admit rational generating functions. The RM-Fibonacci recurrence may be embedded in this framework by taking the maximal order and allowing the coefficients to be periodic zeros and ones. What is special in the present setting is the highly structured staircase pattern of these coefficients: it forces the general constant coefficient reduction to collapse to the sparse relation (2) which in turn yields exact consecutive term ratios, geometric residue class subsequences, and the combinatorial cycle decomposition developed below.
Another related direction concerns Fibonacci recurrences with periodic coefficients. Edson, Lewis, and Yayenie [6] introduced -periodic Fibonacci sequences in which the recurrence remains of order two while its coefficients vary periodically. The present construction is complementary: the coefficients of the active terms remain equal to one, while the number of active preceding terms itself changes periodically.
Closed Forms, Generating Functions, and Growth
The period-collapse theorem makes it possible to describe the RM-Fibonacci sequence almost completely. In particular, the apparently non-autonomous recurrence has a rational generating function and an exact periodically modulated exponential form.
Closed forms
After the first period, (4) already gives a complete closed form. For the two smallest nonclassical periods, we obtain simple expressions.
Proposition 1. For , we have
and
Proof. For we have and , whereas for , and . The result follows immediately from (4).
For , Formula (5) also determines the exact powers of 2 and 3 appearing in each term.
Corollary 4. Let , , and . Then
where denotes the -adic valuation of $m.
This gives a transparent arithmetic description of the sequence: the exponent of 3 records the number of completed memory cycles, while the exponent of 2 records both the cycle number and the position within the current cycle.
The sums of complete blocks are equally simple.
Proposition 2. For , we have
Proof. Using Corollary 1,
Since
the first formula follows. The second follows from Corollary 2.
Rational generating functions
A periodic recurrence with variable order might initially suggest a more complicated generating-function structure. In the present case, however, Theorem 1 shows that the ordinary generating function is rational. Let .
Theorem 2. For every , we have
where
Proof. Multiplying by gives
Hence the coefficient of is when , and when .
By Theorem 1, we have
for all , so all coefficients of degree at least vanish. Therefore is the polynomial displayed above. □
For and , this yields the following expressions.
Corollary 5. We have
For , almost all terms in the second sum defining cancel, leading to a compact formula.
Theorem 3. Let . Then
Equivalently,
Proof. For , Corollary 1 gives . For , and .
For , , so
For ,
while for ,
Substitution into Theorem 2 yields the result.
Thus, despite being defined by a periodically changing recurrence order, the RM-Fibonacci sequence belongs to the class of C-finite sequences after a finite initial transient.
The constant coefficient recurrence (3) has characteristic polynomial
Let . If , then the roots of (6) are
Unlike the usual Fibonacci recurrence, there is no single characteristic root having strictly greater modulus than all the others: every root has modulus . This is precisely what produces the periodic modulation according to the residue class of .
Indeed, writing with , we obtain for all , where
Thus the normalized sequence is eventually periodic with period .
Exponential growth
The preceding formulas determine the exponential growth exactly.
Theorem 4. For every , we have
Proof. Let with . Using Corollary 1,
Therefore
As , necessarily , and hence
Exponentiating gives
Finally,
The growth rate has a simple dependence on the rotation period.
Proposition 3. The sequence is strictly increasing and . Moreover, .
Proof. From (7),
Since , the quantity is strictly increasing with . Hence is strictly increasing.
Furthermore, , so for every finite , while . Therefore .
Consequently, allowing a longer rotation of the memory lengths increases the average exponential growth rate. The limiting value 2 is natural: within each period, all but one transition are exact doublings, while the single reset transition has the smaller factor .
The global growth rate describes the geometric mean over a period, but consecutive terms alternate between two exact local growth factors. Indeed,
and hence
Thus the exponential growth rate is the geometric mean of the local multipliers occurring during one memory cycle, i.e.,
This reconciles the periodic behavior of the consecutive quotients with the existence of a single global exponential growth rate.
Periodic Tilings and Restricted Compositions
Before introducing the formal tiling model, it is useful to keep a simple picture in mind. Imagine a worker constructing a long wall from left to right while the available tile lengths change periodically. At successive stages, the supplier offers tiles of lengths
after which the same cycle begins again. Thus the set of admissible tile lengths depends on the phase of the construction.
For example, when , the available lengths cycle as
Consequently, when the right endpoint of the wall reaches a given position, the possible choices for the final tile depend periodically on that position. A last-tile decomposition therefore produces a recurrence whose order varies periodically. This is precisely the combinatorial mechanism underlying the RM-Fibonacci numbers.
The structural simplicity of RM-Fibonacci numbers thus has a natural tiling interpretation. As with the classical Fibonacci and higher-order Fibonacci sequences, the recurrence can be represented by tilings of a one-dimensional board. The essential difference is that the admissible tile lengths now depend periodically on the position at which a tile ends.
Since the empty tiling is naturally counted by 1, it is convenient to shift the RM-Fibonacci sequence by one position.
Definition 2. For , define for all . We also set for all . In particular, .
From Definition 1 of , we obtain
Thus the shifted sequence has precisely the normalization required for a tiling enumeration.
Endpoint-periodic tilings
Let
The quantity will be interpreted as the largest tile length permitted for a tile whose right endpoint is position .
Definition 3. Let . An RM-tiling of length and period is a tiling of a board by integer length tiles such that every tile of length ending at position satisfies
The empty board has one tiling.
The condition depends on the right endpoint of each tile, rather than on its starting point. This convention is exactly what is required by the recurrence: when the last tile of a tiling of length is removed, the remaining object is an admissible tiling of length with no change to any earlier endpoint condition.
Let denote the set of RM-tilings of length , and write .
Theorem 5. For every and , we have .
Proof. First, we have . Now, consider a nonempty RM-tiling of length . If its final tile has length , then by Definition 3, we have . Removing this final tile leaves an arbitrary RM-tiling of length .
Conversely, every RM-tiling of length can be extended uniquely by appending a tile of length , provided . Hence the usual last tile decomposition gives
which is exactly recurrence (8). The initial conditions also agree, so .
For , one has for every endpoint . Thus Definition 3 reduces to the familiar tiling of a board by monominoes and dominoes, recovering the classical Fibonacci tiling interpretation [3, 4].
Restricted compositions
The same objects may be described compactly as integer compositions.
Recall that a composition of is an ordered tuple of positive integers satisfying .
For such a composition, define its partial sums with . The number is the right endpoint of the tile corresponding to the part .
Definition 4. A composition of is called a -rotating composition if for every , we have
Corollary 6. The number R^{(k)}_{n+1}\) *is equal to the number of*kn$.
Proof. Read an RM-tiling from left to right and replace each tile by its length. This produces a composition of . The endpoint of the th tile is exactly , so the endpoint condition (9) becomes (10). The construction is clearly reversible. The result therefore follows from Theorem 5.
This formulation highlights an unusual feature of the model. The restriction on a part is determined not by the part number but by the partial sum at which that part terminates. Thus the local rule is periodic in the accumulated size of the composition.
Restricted compositions with periodic local conditions have been studied in considerably broader settings; see, for example, Bender and Canfield [1]. The restriction considered here is of a different type. It is not determined by the position of the part in the composition, but by the partial sum at which that part terminates. Thus the periodicity is attached to the accumulated size of the composition rather than to its number of parts.
A bijective explanation of doubling
The algebraic identity between reset positions of Lemma 2 has a simple bijective explanation.
In terms of the shifted sequence, the relevant condition is . At such a position, .
Theorem 6. Suppose , , and . Then there is a bijection . Consequently, .
Proof. Since , the allowed maximum tile length increases by one, i.e., .
Partition according to the length of the final tile.
Case 0: the final tile has length 1. Delete this final tile. The remaining object is an arbitrary tiling in . Conversely, every tiling of length can be extended by appending a tile of length 1. Hence this class is in bijection with .
Case 1: the final tile has length at least 2. Suppose the final tile has length . Shorten that tile by one unit. The resulting final tile has length and ends at position . Since , we have , so the resulting tiling is valid. Conversely, take any tiling of length and increase the length of its final tile by one. If its original length is , then , and hence , so the resulting tiling of length is valid. Thus this second class is also in bijection with .
The two classes are disjoint and exhaustive, giving . Therefore
The two binary choices have a direct combinatorial meaning:
: append a new tile of length 1,
: extend the final tile by one unit.
Thus each non-reset step contributes an independent binary decision.
The ternary transition across a reset
A complete memory cycle contains one exceptional transition. It is more natural combinatorially to combine the reset with the immediately preceding step.
Suppose . Then the endpoint is the last position before the memory resets, while endpoint allows only tile lengths 1 and 2.
The recurrence gives . By Theorem 6, . Consequently,
This identity also has a direct decomposition.
Proposition 4. At every reset, there is a bijection
Proof. Every tiling in ends with a tile of length either 1 or 2.
If the last tile has length 2, delete it. This gives one copy of .
If the last tile has length 1, delete it. The result lies in . By Theorem 6,
Hence the class of tilings ending in a tile of length 1 gives two additional copies of .
Altogether,
This provides a combinatorial explanation for the factor 3 appearing in the period multiplier.
A combinatorial proof of the period-collapse theorem
Combining the binary and ternary bijections yields a purely combinatorial proof of the factor .
Theorem 7. After the initial transient, extending an RM-tiling through one complete period is equivalent to choosing one ternary symbol and binary symbols. More precisely, for every and , there is a bijection
Consequently,
Proof. During a complete period there are ordinary single step extensions that are covered independently by [6]. Each contributes a binary choice.
The remaining two consecutive positions consist of the final pre-reset position and the reset itself. By [4], these two positions together contribute one ternary choice.
Thus the set of possible extensions through a complete cycle is naturally encoded by , whose cardinality is . Therefore .
Using , this recovers the period-collapse theorem combinatorially.
[7] explains why the multiplier is so simple. It is not merely an algebraic consequence of cancellation in the recurrence: one complete rotating memory cycle is combinatorially composed of one ternary decision and independent binary decisions.
The Period 2 Case and Monomer-dimer Tilings
We now describe a natural geometric realization of the period-2 RM-Fibonacci sequence. Unlike the endpoint-periodic tiling model of Section 5, the alternating recurrence is now forced by the geometry of the underlying graph itself.
Let denote the triangular chain on vertices illustrated in Figure 1. More precisely, has vertex set , and edge set

Figure 1. A triangular-chain model for the period-2 RM-Fibonacci sequence.
Thus is obtained by chaining triangles along a horizontal base.
A monomer-dimer tiling of is a covering of its vertices by pairwise disjoint monomers and dimers, where a dimer occupies an edge of . Equivalently, it is a matching of , with unmatched vertices viewed as monomers.
Let denote the number of monomer-dimer tilings of in which the leftmost vertex is forced to be a monomer. The next proposition shows that satisfies exactly the period-2 RM-Fibonacci recurrence.
Theorem 8. The sequence satisfies the recurrence
Proof. The initial values are immediate. Now let .
Suppose first that is even. Then the last vertex is the top vertex of the final triangle and has only one neighbor, namely ; see Figure 1. Hence there are exactly two possibilities:
is a monomer. Removing leaves a tiling of .
forms a dimer with . Removing and leaves a tiling of .
Therefore with .
Now suppose that is odd. Then the last vertex is the rightmost base vertex and has two possible dimer partners, namely and ; see again Figure 1. Hence there are three possibilities:
is a monomer. Removing leaves a tiling of .
forms a dimer with . Removing and leaves a tiling of .
forms a dimer with . Then the vertex is forced to be a monomer, and removing the last three vertices leaves a tiling of .
Consequently, with .
We can now identify with the period-2 RM-Fibonacci sequence.
Corollary 7. For every , we have .
Proof. By direct identification.
Remark 1. If the leftmost vertex is not constrained, then the number of all monomer-dimer tilings of is equal to for every . Indeed, the vertex may be either a monomer or part of the dimer , and these two possibilities reduce respectively to a tiling of with forced to be a monomer and to such a tiling of .
The sequence obtained here is already recorded in the OEIS. More precisely, A038754 for . The OEIS entry for A038754 records several algebraic, number-theoretic, and walk interpretations of the sequence, but does not include the monomer-dimer interpretation on the triangular chain developed above. Thus the present construction provides an additional combinatorial realization of A038754.
The period-3 Case and Double-Hexagon Tilings
The period-3 case admits a second natural geometric realization. Recall that , whose first terms are
This is OEIS sequence A354541, which is recorded as the number of tilings of a double-hexagon strip of hexagonal cells by single and double hexagons. We now derive this interpretation directly from the geometry of the strip.
Let denote the set of such tilings and write . A single tile covers one hexagonal cell, whereas a double tile covers two cells sharing an edge. We set and for all .
Figure 2 illustrates the three possible terminal geometries of the strip according to the residue of modulo 3. These three configurations are responsible for the periodic recurrence satisfied by .
Figure 2. Illustration of the period-3 hexagonal strip model.
Theorem 9. For every , we have
Proof. We distinguish the three terminal configurations shown in Figure 2.
Suppose first that . The last cell may be covered by a single hexagon, in which case the remaining strip is counted by . If belongs to a double hexagon, there are two possible terminal configurations. Pairing with leaves a strip counted by . Alternatively, may be paired with ; in this case is forced to be a single hexagon, and deleting the resulting terminal configuration leaves a strip counted by . Hence
Now suppose that . If cell is covered by a single hexagon, the remaining strip contributes . Otherwise, cell can be paired with either of the two adjacent terminal cells shown in Figure 2. In either case, deleting the double hexagon leaves a strip isomorphic to the strip on cells. The two choices are distinct, and therefore
Finally, suppose that . The last cell is either covered by a single hexagon, contributing , or belongs to the unique possible terminal double hexagon, contributing . Thus
We now compare this geometric recurrence with the period-3 RM-Fibonacci recurrence. From (8),
Although the middle recurrence in Theorem 9 initially has a different form, the two systems are equivalent. Indeed, if , then , and hence
Consequently,
Thus satisfies exactly the same rotating recurrence as .
Corollary 8. For every ,
Consequently, the shifted period-3 RM-Fibonacci numbers enumerate tilings of the double-hexagon strip by single and double hexagons and coincide with OEIS sequence A354541.
Proof. By direct identification.
The preceding argument proves the equinumeracy by a terminal decomposition. In fact, the correspondence can be made explicit.
For convenience, write for a single hexagon occupying cell , and for a double hexagon covering the adjacent cells and .
Theorem 10. For every , there is a bijection
If an RM tile has length and right endpoint , its image is given by
Proof. For period 3, the largest admissible RM tile length at endpoint is
With the labeling of Figure 2, consecutive cells and are adjacent. Moreover, and are adjacent when or , and, when , the cells and are also adjacent. Consequently, every configuration in the table is well defined whenever the corresponding RM tile length is admissible. Since the RM tiles partition into consecutive blocks, applying the replacement to each block produces a tiling in .
Conversely, consider the rightmost cell of a tiling in . If is a single hexagon, it corresponds to an RM tile of length 1. If is paired with , it corresponds to a tile of length 2. If is paired with , then either is single, giving a tile of length 3, or, necessarily when , is paired with , giving a tile of length 4.
These possibilities are mutually exclusive and exhaust the terminal configurations shown in Figure 2. Removing the corresponding terminal block and repeating the procedure from right to left recovers a unique RM tiling. Hence is a bijection.
Thus the period-3 RM-Fibonacci sequence has two genuinely different tiling interpretations:
and Theorem 10 explains their equality directly at the level of the underlying combinatorial objects.
Concluding Remarks and Open Problems
In this paper, we introduced the RM-Fibonacci numbers as a periodic variable-order extension of the Fibonacci sequence and developed their algebraic and combinatorial theory. Although the defining recurrence has a periodically changing memory length, the resulting sequences exhibit a remarkably rigid structure, including period collapse, explicit formulas, rational generating functions, and exact exponential growth. On the combinatorial side, RM-Fibonacci numbers arise from endpoint-periodic tilings, restricted compositions, and directed lattice paths, while the tiling model provides a bijective explanation for the multiplicative factor accumulated over one complete memory cycle.
The first two nonclassical periods also admit natural geometric realizations in which the periodicity is induced by the underlying geometry rather than imposed explicitly. For period 2, the sequence is realized by monomer–dimer tilings of a triangular chain with a prescribed boundary condition. For period 3, the shifted sequence is realized by tilings of a double-hexagon strip by single and double hexagons, and an explicit bijection connects this model with the period-3 RM-tilings. These examples suggest that geometry-driven realizations may exist more generally.
Problem 1. For each , construct, if possible, a natural periodic planar graph or strip together with a fixed local tiling or matching rule whose counting sequence is the period- RM-Fibonacci sequence. Ideally, the cycle of recurrence orders should arise from the geometry itself rather than from an explicitly position-dependent rule.
Another direction concerns the choice of the periodic memory pattern. The present paper considers the consecutive cycle of memory lengths . More general periodic patterns may behave quite differently, and it is natural to ask which of them retain the structural simplifications found here.
Problem 2. Classify periodic memory patterns for which the associated variable-order recurrence eventually reduces to a simple constant-coefficient recurrence.
The explicit arithmetic structure of the RM-Fibonacci numbers also raises natural number-theoretic questions. Their divisibility properties, greatest common divisors, periodicity modulo an integer, and related congruence phenomena could be investigated systematically and compared with their classical Fibonacci counterparts.
A further direction is to apply the rotating-memory principle to other classical recurrence sequences. Periodic-memory analogues of Lucas, Pell, Jacobsthal, Tribonacci, and related sequences may exhibit versions of the same structural phenomena observed here.
Problem 3. Develop rotating-memory analogues of classical linear recurrence sequences and determine which families retain properties such as period collapse, geometric residue-class subsequences, rational generating functions, and natural combinatorial interpretations.
Finally, one may move beyond periodicity. Variable-order recurrences with aperiodic, automatic, morphic, or random memory rules provide a broader setting in which the rigid behavior found here is unlikely to persist unchanged. Understanding the boundary between periodic systems with strong algebraic structure and genuinely nonperiodic variable-memory recurrences appears to be a natural direction for further study.
References
- [1]Edward A. Bender and E. Rodney Canfield. Locally restricted compositions II: general restrictions and infinite matrices. The Electronic Journal of Combinatorics, 16(1):R108, 2009. doi:10.37236/197.DOI
- [2]Arthur T. Benjamin, Halcyon D erks, and Jennifer J. Quinn. The combinatorialization of linear recurrences. The Electronic Journal of Combinatorics, 18(2):P12, 2011. doi:10.37236/2008.DOI
- [3]Arthur T. Benjamin and Curtis R. Heberle. Counting on r-Fibonacci numbers. The Fibonacci Quarterly, 52(2):121–128, 2014. doi:10.1080/00150517.2014.12427902.DOI
- [4]Arthur T. Benjamin and Jennifer J. Quinn. Proofs that really count: the art of combinatorial proof, volume 27 of Dolciani Mathematical Expositions. Mathematical Association of America, 2003.
- [5]Tomislav Došljić and Luka Podrug. Tilings of a honeycomb strip and higher order Fibonacci numbers. Contributions to Discrete Mathematics, 19(2):56–81, 2024. doi:10.55016/ojs/cdm.v19i2.75062.DOI
- [6]Marcia Edson, Scott Lewis, and Omer Y a y e n i e. The k-periodic Fibonacci sequence and an extended Binet’s formula. Integers, 11(6):739–751, 2011. doi:10.1515/INTEG.2011.056.DOI
- [7]Nathaniel D. Emerson. A family of meta-Fibonacci sequences defined by variable-order recursions. Journal of Integer Sequences, 9(1):Article 06.1.8, 2006.
- [8]Ziqian Jin and Greg Dresden. Tetranacci identities via hexagonal tilings. The Fibonacci Quarterly, 60(2):99–103, 2022. doi:10.1080/00150517.2022.12427482.DOI
- [9]E. P. Miles, Jr. Generalized Fibonacci numbers and associated matrices. The American Mathematical Monthly, 67(8):745–752, 1960. doi:10.1080/00029890.1960.11989593.DOI
- [10]OEIS Foundation Inc. The On-Line Encyclopedia of Integer Sequences, 2026. Published electronically at https://oeis.org.
- [11]Daniel Panario, Murat Sahin, Qiang Wang, and William Webb. General conditional recurrences. Applied Mathematics and Computation, 243:220–231, 2014. doi:10.1016/j.amc.2014.05.108.DOI
