Article begins on next page

Similar documents
Linear Recurrent Subsequences of Meta-Fibonacci Sequences

Article begins on next page

ON HOFSTADTER S MARRIED FUNCTIONS

1 Examples of Weak Induction

Finding Linear-Recurrent Solutions to Hofstadter-Like Recurrences Using Symbolic Computation

#A6 INTEGERS 17 (2017) AN IMPLICIT ZECKENDORF REPRESENTATION

arxiv: v1 [math.co] 22 Jan 2013

COM S 330 Lecture Notes Week of Feb 9 13

Discrete Math, Spring Solutions to Problems V

Fall 2017 Test II review problems

COUNTING NUMERICAL SEMIGROUPS BY GENUS AND SOME CASES OF A QUESTION OF WILF

Mathematical Induction

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

Section 4.1: Sequences and Series

PRODUCTS THAT ARE POWERS. A mathematical vignette Ed Barbeau, University of Toronto

Recurrence Relations

Chapter 11 - Sequences and Series

Sequences and Series. Copyright Cengage Learning. All rights reserved.

HOW TO WRITE PROOFS. Dr. Min Ru, University of Houston

HOMEWORK #2 - MATH 3260

Mathematical Induction

DR.RUPNATHJI( DR.RUPAK NATH )

Solving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 =

Induction and Recursion

Rigid Divisibility Sequences Generated by Polynomial Iteration

On Generalized k-fibonacci Sequence by Two-Cross-Two Matrix

On Aperiodic Subtraction Games with Bounded Nim Sequence

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy

Bijective proofs for Fibonacci identities related to Zeckendorf s Theorem

Some congruences concerning second order linear recurrences

5. Sequences & Recursion

QUOTIENTS OF FIBONACCI NUMBERS

Graphs with few total dominating sets

Notes on generating functions in automata theory

Lecture 8 : Structural Induction DRAFT

Algorithms: Background

4 Linear Recurrence Relations & the Fibonacci Sequence

Cullen Numbers in Binary Recurrent Sequences

HW2 Solutions Problem 1: 2.22 Find the sign and inverse of the permutation shown in the book (and below).

Mathematical Induction

Proof Techniques (Review of Math 271)

CHAPTER 4 SOME METHODS OF PROOF

CS 173: Induction. Madhusudan Parthasarathy University of Illinois at Urbana-Champaign. February 7, 2016

MI 4 Mathematical Induction Name. Mathematical Induction

1. Introduction. Let P and Q be non-zero relatively prime integers, α and β (α > β) be the zeros of x 2 P x + Q, and, for n 0, let

Strongly 2-connected orientations of graphs

BIJECTIVE PROOFS FOR FIBONACCI IDENTITIES RELATED TO ZECKENDORF S THEOREM

Ex. Here's another one. We want to prove that the sum of the cubes of the first n natural numbers is. n = n 2 (n+1) 2 /4.

Quivers of Period 2. Mariya Sardarli Max Wimberley Heyi Zhu. November 26, 2014

Sprague-Grundy Values of the R-Wythoff Game

ENGINEERING MATH 1 Fall 2009 VECTOR SPACES

Course : Algebraic Combinatorics

inv lve a journal of mathematics 2009 Vol. 2, No. 2 Bounds for Fibonacci period growth mathematical sciences publishers Chuya Guo and Alan Koch

Problem Solving in Math (Math 43900) Fall 2013

Definition: A sequence is a function from a subset of the integers (usually either the set

ASSIGNMENT 12 PROBLEM 4

All numbered readings are from Beck and Geoghegan s The art of proof.

ALGORITHMS AND COMBINATORICS OF MAXIMAL COMPACT CODES by. CHRISTOPHER JORDAN DEUGAU B.Sc., Malaspina University-College, 2004

= 5 2 and = 13 2 and = (1) = 10 2 and = 15 2 and = 25 2

Refined Inertia of Matrix Patterns

Induction. Induction. Induction. Induction. Induction. Induction 2/22/2018

Pascal Eigenspaces and Invariant Sequences of the First or Second Kind

Partition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example

Infinite Continued Fractions

Pigeonhole Principle and Ramsey Theory

Generalizations of Product-Free Subsets

IEOR 6711: Professor Whitt. Introduction to Markov Chains

ARITHMETIC PROGRESSION OF SQUARES AND SOLVABILITY OF THE DIOPHANTINE EQUATION 8x = y 2

3 Finite continued fractions

Chapter12. Relations, Functions, and Induction

On Systems of Diagonal Forms II

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

ON THE BEHAVIOR OF A FAMILY OF META-FIBONACCI SEQUENCES

Jumping Sequences. Steve Butler Department of Mathematics University of California, Los Angeles Los Angeles, CA

3.3 Accumulation Sequences

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

Counting on Chebyshev Polynomials

12 Sequences and Recurrences

Math 300: Final Exam Practice Solutions

Section Summary. Sequences. Recurrence Relations. Summations Special Integer Sequences (optional)

Every subset of {1, 2,...,n 1} can be extended to a subset of {1, 2, 3,...,n} by either adding or not adding the element n.

Introduction: Pythagorean Triplets

A Study on the Minimum and Maximum Sum of C2 Problem in IMO2014

Advanced Counting Techniques

MATHEMATICAL INDUCTION

THE ZECKENDORF ARRAY EQUALS THE WYTHOFF ARRAY

a j x j. j=0 The number R (possibly infinite) which Theorem 1 guarantees is called the radius of convergence of the power series.

#A48 INTEGERS 9 (2009), A NEW GENERALIZATION OF FIBONACCI SEQUENCE AND EXTENDED BINET S FORMULA

MATH SOLUTIONS TO PRACTICE MIDTERM LECTURE 1, SUMMER Given vector spaces V and W, V W is the vector space given by

Reaching a Consensus in a Dynamically Changing Environment - Convergence Rates, Measurement Delays and Asynchronous Events

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

DOMINO TILING. Contents 1. Introduction 1 2. Rectangular Grids 2 Acknowledgments 10 References 10

ZEROES OF INTEGER LINEAR RECURRENCES. 1. Introduction. 4 ( )( 2 1) n

F 2k 1 = F 2n. for all positive integers n.

Math 3000 Section 003 Intro to Abstract Math Homework 6

Eigenspaces in Recursive Sequences

FINITE ABELIAN GROUPS Amin Witno

On the mean connected induced subgraph order of cographs

Section 11.1 Sequences

NP-Complete and Non-Computable Problems. COMP385 Dr. Ken Williams

Transcription:

Linear Recurrent Subsequences of Generalized Meta-Fibonacci Sequences Rutgers University has made this article freely available. Please share how this access benefits you. Your story matters. [https://rucore.libraries.rutgers.edu/rutgers-lib/49496/story/] This work is an ACCEPTED MANUSCRIPT (AM) This is the author's manuscript for a work that has been accepted for publication. Changes resulting from the publishing process, such as copyediting, final layout, and pagination, may not be reflected in this document. The publisher takes permanent responsibility for the work. Content and layout follow publisher's submission requirements. Citation for this version and the definitive version are shown below. Citation to Publisher Version: Fox, Nathan. (2016). Linear Recurrent Subsequences of Generalized Meta-Fibonacci Sequences. Journal of Difference Equations and Applications 22(7), 1019-1026.http://dx.doi.org/10.1080/10236198.2016.1173036. Citation to this Version: Fox, Nathan. (2016). Linear Recurrent Subsequences of Generalized Meta-Fibonacci Sequences. Journal of Difference Equations and Applications 22(7), 1019-1026. Retrieved from doi:10.7282/t300046f. This is an Accepted Manuscript of an article published by Taylor & Francis in Journal of Difference Equations and Applications on 13 Apr 2016, available online: http://www.tandfonline.com/10.1080/10236198.2016.1173036. Terms of Use: Copyright for scholarly resources published in RUcore is retained by the copyright holder. By virtue of its appearance in this open access medium, you are free to use this resource, with proper attribution, in educational and other non-commercial settings. Other uses, such as reproduction or republication, may require the permission of the copyright holder. Article begins on next page SOAR is a service of RUcore, the Rutgers University Community Repository RUcore is developed and maintained by Rutgers University Libraries

Linear Recurrent Subsequences of Generalized Meta-Fibonacci Sequences Nathan Fox Abstract In a recent paper, Frank Ruskey asked whether every linear recurrent sequence can occur in some solution of a meta-fibonacci sequence. In this paper, we consider the natural generalization of meta-fibonacci recurrences to more than two terms. In this context, we show, using an explicit construction, that any sequence satisfying a linear recurrence with positive coefficients occurs as an evenly-spaced subsequence in some generalized meta-fibonacci sequence. 1 Introduction Various authors use various definitions of meta-fibonacci sequences, which were first introduced by Douglas Hofstadter [4, pp. 137-138]. In this paper, we will use the following definition. Definition 1. A meta-fibonacci recurrence is a recurrence of the form M(n) = M(n M(n c 1 )) + M(n M(n c 2 )) for some fixed positive integers c 1, and c 2. A meta-fibonacci sequence is a sequence of integers (q(n)) n n0 that eventually satisfy a meta-fibonacci recurrence. (Typically, n 0 is 0 or 1.) Other authors allow some variations of this definition [6], but all would agree that any sequence described this way is in fact meta-fibonacci. Throughout this paper, we will use the following natural generalization of meta-fibonacci sequences. Definition 2. A generalized meta-fibonacci recurrence is a recurrence of the form M(n) = b i M(n M(n i)) Department of Mathematics, Rutgers University, Piscataway, New Jersey, USA, fox@math.rutgers.edu 1

for some fixed positive integers k and b i. A generalized meta-fibonacci sequence is a sequence of integers (q(n)) n n0 that eventually satisfy a generalized meta-fibonacci recurrence. (Typically, n 0 is 0 or 1.) The meta-fibonacci sequences are precisely the generalized meta-fibonacci sequences whose recurrences contain exactly two nonzero terms, both with coefficient one [2]. The original and most well-known meta-fibonacci sequence is Hofstadter s Q-sequence. His sequence (with n 0 = 1) is defined by Q(1) = 1, Q(2) = 1, and for n 3, Q(n) = Q(n Q(n 1)) + Q(n Q(n 2)) [4]. A primary question asked about (generalized) meta-fibonacci sequences (and famously still open for Hofstadter s Q-sequence) is whether they are defined for all n. In general, it is conceivable that one of two undesirable things could happen when trying to evaluate M(n) for a (generalized) meta-fibonacci sequence: When trying to evaluate M(n), M(m) needs to be evaluated for some m < n 0. (For example, this would happen when evaluating Q(3) if the initial conditions to Hofstadter s recurrence were Q(1) = 1, Q(2) = 3.) When trying to evaluate M(n), M(m) needs to be evaluated for some m n. (For example, this would happen when evaluating Q(3) if the initial conditions to Hofstadter s recurrence were Q(1) = 1, Q(2) = 0.) Often, authors use the convention that, when dealing with (generalized) meta-fibonacci sequences, M(n) = 0 whenever n < n 0. We will use this convention going forward. This causes the first potential issue to go away, though the second one remains nonrecoverable. Hofstadter s original sequence appears to behave quite chaotically. But, related sequences have been found with much more predictable behavior. For example, Tanny was able to slightly modify the recurrence to yield a better-behaved but similar-looking sequence [6]. Also, Golomb discovered that, under Hofstadter s original recurrence, changing the initial condition to Q(1) = 3, Q(2) = 2, and Q(3) = 1 yields a quasilinear solution of period three [3]. In a similar vein, Ruskey discovered (using the convention that evaluating at a negative index gives zero) a solution to Hofstadter s Q-recurrence that includes the Fibonacci numbers starting from 5 as every third term [5]. At the end of his paper, Ruskey asks whether every linear recurrent sequence exists as an equally-spaced subsequence of a solution to some meta-fibonacci recurrence. In this paper, we answer this question positively for generalized meta-fibonacci recurrences and linear recurrences with positive coefficients. In particular, our proof is constructive. 2 The Construction We will prove this main theorem: Theorem 1. Let (a(n)) n 0 be a sequence of positive integers satisfying the recurrence a(n) = b i a(n i), 2

for some positive integer k and nonnegative integers b 1, b 2,..., b k whose sum is at least 2. Then, there is a generalized meta-fibonacci sequence (q(n)) n 0 such that q(2kn) = a(n) for all n 0. (We will call the number 2k the quasi-period of the sequence (q(n)).) Proof. Let (a(n)) n 0 be a sequence of positive integers satisfying the recurrence a(n) = b i a(n i), for some positive integer k and nonnegative integers b 1, b 2,..., b k whose sum is at least 2. For each r from 0 to k 1, define the sequence ( a (r) (n) ) n 1 as a (r) (n) = r b i a (r) (n k i + r) + b i a (r) (n i + r) i=r+1 with a (r) (i) = a(i) for i k. Notice that a (0) (n) = a(n), and the other sequences satisfy similar recurrences with the coefficients cycled. Since the coefficients of the recurrences are nonnegative and sum to at least 2, the sequences ( a (r) (n) ) exhibit superlinear growth for n 1 all r. Now, for all m, define the sequence (q(n)) n 0 as follows: { q(2mk + 2j) = a (j) (m) 0 j < k q(2mk + 2j + 1) = 2k(k j) 0 j < k, We claim that (q(n)) n 0, with the extension q(n) = 0 for n < 0, eventually satisfies the generalized meta-fibonacci recurrence M a (n) = M a (n M a (n 2)) + b i M a (n M a (n (2i 1))). Notice that this will imply the desired result, since the quasi-period will be 2k. Let h be an integer satisfying all of the following constraints: h 2k 1 h 2 For all r, whenever m h, a (r) (m 1) 2(m + 1)k. We define a function R as follows: q(n) R(n) = R(n R(n 2)) + n h b i R(n R(n (2i 1))) n > h. 3

In other words, R eventually satisfies the recurrence M a, and it has an initial condition of length h that matches (q(n)). The first two conditions on h are required to make R welldefined. Since all the linear recurrent sequences under consideration grow superlinearly, the third condition will be satisfied by all sufficiently large numbers. Hence, such an h exists, and all larger values would also be valid choices for h. We wish to show that R(n) = q(n) for all n. We will proceed by induction on n. The base case is covered by the fact that R(n) is defined to equal q(n) for n h. So, we will show that, for n > h, R(n) = q(n) under the assumption that R(p) = q(p) for all 1 p < n. For this, we will split into two cases: n is odd: Since n is odd, it is of the form 2mk +2j +1 for some m 0 and some 0 j < k. By our choice of h, a (r) (m 1) 2 (m + 1) k and a (r) (m) 2 (m + 2) k. In particular, both of these are greater than 2mk + 2j + 1. Using this fact, we have R(n) = R(n R(n 2)) + = R(n q(n 2)) + b i R(n R(n (2i 1))) b i R(n q(n (2i 1))) = R(2mk + 2j + 1 q(2mk + 2j 1)) + b i R(2mk + 2j + 1 q(2mk + 2j + 1 (2i 1))) = R(2mk + 2j + 1 q(2mk + 2 (j 1) + 1)) + b i R(2mk + 2j + 1 q(2mk + 2 (j i + 1))) = R(2mk + 2j + 1 q(2mk + 2 (j 1) + 1)) j+1 + b i R(2mk + 2j + 1 a (j i+1) (m)) + i=j+2 b i R(2mk + 2j + 1 a (k+j i+1) (m 1)) j+1 = R(2mk + 2j + 1 q(2mk + 2 (j 1) + 1)) + b i 0 + i=j+2 b i 0. If j = 0, then q(2mk + 2 (j 1) + 1) = 2k; otherwise, q(2mk + 2 (j 1) + 1) = 2k(k j + 1). In both cases, it is of the form 2ks for some s. So, we have R(n) = R(2mk + 2j + 1 2ks) = R(2(m s)k + 2j + 1) 4

= 2k (k j) = q(2mk + 2j + 1) = q(n), as required. n is even: Since n is even, it is of the form 2mk + 2j for some m 0 and some 0 j < k. By our choice of h, a (r) (m 1) 2 (m + 1) k and a (r) (m) 2 (m + 2) k. In particular, both of these are greater than 2mk + 2j. Using this fact, we have R(n) = R(n R(n 2)) + = R(n q(n 2)) + b i R(n R(n (2i 1))) b i R(n q(n (2i 1))) = R(2mk + 2j q(2mk + 2j 2)) + b i R(2mk + 2j q(2mk + 2j (2i 1))) = R(2mk + 2j q(2mk + 2 (j 1))) + b i R(2mk + 2j q(2mk + 2 (j i) + 1)) If j = 0, then we will have q(2mk + 2 (j 1)) = a (k 1) (m 1). Otherwise, we will have q(2mk + 2 (j 1)) = a (j 1) (m). In either case, we have R(2mk + 2j q(2mk + 2 (j 1))) = 0. So, R(n) = 0 + = = = b i R(2mk + 2j + 1 q(2mk + 2 (j i) + 1)) b i R(2mk + 2j 2k(k (j i))) + b i R(2mk + 2j 2k(k (k + j i))) b i R(2mk + 2j 2k (k j + i)) + b i R(2 (m k i + j) k + 2j) + b i R(2mk + 2j 2k (i j)) b i R(2 (m i + j) k + 2j) 5

= = as required. b i q(2 (m k i + j) k + 2j) + b i a (j) (m k i + j) + = a (j) (m) = q(2mk + 2j) = q(n), 2.1 Notes about the Construction b i q(2 (m i + j) k + 2j) b i a (j) (m i + j) In the case where (a(n)) n 0 is the Fibonacci sequence starting from 5, this construction does not give Ruskey s sequence. Rather, we obtain the sequence that eventually satisfies the recurrence (5, 8, 5, 4, 8, 8, 8, 4, 13, 8, 13, 4, 21, 8, 21, 4,...) M a (n) = M a (n M a (n 1)) + M a (n M a (n 2)) + M a (n M a (n 3)). The Fibonacci numbers each appear twice in this sequence because the Fibonacci recurrence is invariant under rotation (and each rotation of it appears once). Since any linear recurrent sequence satisfies infinitely many linear recurrences, this construction actually gives infinitely many generalized meta-fibonacci sequences including a given linear-recurrent sequence. In addition, the construction can be tweaked in a number of ways to yield slightly different sequences. For example, one could start from a rotation of the desired sequence. Or, the initial conditions for the rotations could be chosen differently, since their values are not critical to the construction. (We only care about the growth rate and recurrent behavior of the rotations.) But, none of these modifications would suffice to cause our construction to yield Ruskey s sequence, since his sequence has quasi-period 3 and our construction only yields sequences with even quasi-periods. This fact seems to indicate that there are many more generalized meta-fibonacci sequences for a given linear recurrent sequence than our construction can generate. In our construction, we put two constraints on the b values. First, we require them to be nonnegative. With our conventions, it would be impossible to have a solution to a generalized meta-fibonacci recurrence with infinitely many nonpositive entries. There are many linear recurrent sequences with positive terms but some negative coefficients. But, our construction fails for these sequences, since some rotation of such a sequence will have infinitely many nonpositive entries. Ruskey s question remains open for such sequences. Second, we require the sum of the b values to be at least 2. This was necessary to force the terms of (a(n)) to grow superlinearly. If the b values sum to zero, then they must all be zero, in which case the 6

sequence (a(n)) is eventually zero, and, hence, not a sequence of positive integers. If the b values sum to 1, then all of them must be zero except for one. So, the recurrence we obtain is a(n) = b i a(n i) for some i. So, in this case, (a(n)) is eventually periodic. Eventually constant sequences eventually satisfy the recurrence M(n) = M(n M(n 1)), but it is unclear whether higher periods can always be realized within generalized meta-fibonacci sequences. 2.2 An Example The following example should illustrate most of the nuances of our construction. Consider the sequence (a(n)) n 0 defined by a(0) = 30, a(1) = 40, a(2) = 60, and a(n) = a(n 1) + 2a(n 3) for n 3. (The large initial values allow us to avoid having an unreasonably long initial condition in our generalized meta-fibonacci sequence.) The first few terms of this sequence are (30, 40, 60, 120, 200, 320, 560, 960,...). The rotations of (a(n)) have the same initial conditions and are given by the following recurrences: a (0) (n) = a (0) (n 1) + 2a (0) (n 3) (30, 40, 60, 120, 200, 320, 560, 960,...) a (1) (n) = a (1) (n 3) + 2a (1) (n 2) (30, 40, 60, 110, 160, 280, 430, 720,...) a (2) (n) = a (2) (n 2) + 2a (2) (n 1) (30, 40, 60, 160, 380, 920, 2220, 5360,...) The construction gives the sequence (q(n)) n 0 defined by { q(6m + 2j) = a (j) (m) 0 j < 4 q(6m + 2j + 1) = 6(3 j) 0 j < 4 as eventually satisfying the generalize meta-fibonacci recurrence M a (n) = M a (n M a (n 1)) + M a (n M a (n 2)) + 2M a (n M a (n 5)). Sure enough, the initial condition suffices. The next term is (30, 18, 30, 12, 30, 6, 40, 18, 40, 12, 40, 6, 60, 18, 60, 12, 60, 6) M a (18) = M a (18 M a (17)) + M a (18 M a (16)) + 2M a (18 M a (13)) = M a (18 6) + M a (18 60) + 2M a (18 18) = M a (12) + M a ( 42) + 2M a (0) = 60 + 0 + 2 30 = 120 = a (0) (3), 7

as required. The term after this is M a (19) = M a (19 M a (18)) + M a (19 M a (17)) + 2M a (19 M a (14)) = M a (19 120) + M a (19 6) + 2M a (19 60) = M a ( 101) + M a (13) + 2M a ( 41) = 0 + 18 + 2 0 = 18 = 6(3 0), as required. The rest of the desired terms can continue to be generated this way. 3 Acknowledgements I would like to thank Dr. Doron Zeilberger of Rutgers University for introducing me to the results of Golomb and Ruskey and for providing me with useful feedback on this work and on the paper. I would also like to thank Matthew Russell of Rutgers University for proofreading a draft of this paper and providing me with useful feedback. References [1] B.W. Conolly, Meta-Fibonacci sequences, in Fibonacci & Lucas Numbers, S. Vajda, eds., Ellis Horwood Limited, 1989. [2] C. Deugau and F. Ruskey, Complete k-ary trees and generalized meta-fibonacci sequences, Fourth Colloquium on Mathematics and Computer Science: Algorithms, Trees, Combinatorics and Probabilities, DMTCS Proceedings Series, 2006 AG, pp. 203-214. [3] S. Golomb, Discrete chaos: Sequences satisfying strange recursions, unpublished manuscript (1991). [4] D. Hofstadter, Gödel, Escher, Bach: an Eternal Golden Braid, Penguin Books, 1979. [5] F. Ruskey, Fibonacci meets Hofstadter, Fibbonaci Quart. 49 (2011), pp. 227-230. [6] S. M. Tanny, A well-behaved cousin of the Hofstadter sequence, Discrete Math. 105 (1992), pp. 227-239. 8