Fibsum Graphs (2009)

Originator(s): Unknown presented by Gregory Puleo - REGS 2009)

Definitions: The Fibonacci sequence ⟨F⟩ is defined by F1 = 1, F2 = 1, and Fk = Fk-2 + Fk-1 for k > 2. For each positive integer n, the Fibonacci-sum graph of n, written Gn, is the graph with vertex set [n] such that i and j are adjacent if and only if i+j is a Fibonacci number.

Question 1: For which integers n does Gn have a spanning path?

Background: The original problem (Problem 2732 in J. Recreational Mathematics, Jan 2009) asked for a permutation of [34] such that the sum of adjacent numbers is a Fibonacci number. The current presentation casts the same problem in explicitly graph-theoretic terms. The problem is interesting because we seek a spanning path in a rather sparse graph, and there seems to be no particular reason to expect it to have a spanning path, although the Fibonacci numbers themselves form a (relatively short) path in it. (It is an induced path, since a+Fj=b and a<Fj-1 imply b<Fj+1.) Below we show G34, with a spanning path in red.

Conjecture 1. If n is a Fibonacci number, then Gn has a spanning path.

Algorithm (Greedy Algorithm). Seek a spanning path in Gn by starting at vertex n and iteratively moving to the largest neighbor that has not yet been visited.

Conjecture 2. If n is a Fibonacci number, then the greedy algorithm finds a spanning path in Gn.

Comments: Conjecture 2 clearly implies Conjecture 1. The motivation for this greedy algorithm is that if n is a Fibonacci number, then n has degree 1 in Gn and must be an end of the path. Similarly, the large numbers tend to be vertices with small degree, and hence the algorithm visits them as soon as possible.

Fox and Kinnersley (REGS 2009) appear to have developed an algorithm that transforms a spanning path in GFk into a spanning path in GFk+1 (not the greedy algorithm given above). The details need to be worked out, but if this is true, then it establishes Conjecture 1.

Possibly the spanning path is unique. If so, then the Fox-Kinnersley approach (if correct) should also be able to decide whether Conjecture 2 is true. Snevily noted that the spanning path from 34 shown above alternates two odd numbers and two even numbers after the intial value. This is also true in G8. Is it true whenever n is an even Fibonacci number? The parity patterns for the paths from other Fibonacci numbers seem more complicated.

Question 2: What graph-theoretic properties are satisfied by Gn for all n?

Comments: There is a "universal" infinite graph containing Gn for all n, since Gn-1 is obtained from Gn simply by deleting vertex n. Also Gn is 2-degenerate, since the highest (last) vertex in any induced subgraph has degree at most 2 in the subgraph.

Next, we show that Gn is bipartite. It suffices to prove this by induction on k for GFk. As vertices are added to GFk, the added vertex i has degree 1 for Fk+1 ≤ i ≤ (Fk+Fk+1)/2 (and for i=Fk+1). For (Fk+Fk+1)/2 < i ≤ Fk+1-1, vertex i has degree 2 when it arrives; the two neighbors of Fk+1-j are Fk+j and j. However, those two vertices have the common neighbor Fk-1-j. Hence Fk+j receives the color of j, and Fk+1-j receives the color of Fk-1-j, and the graph remains bipartite.

Since when a vertex x of degree 2 is added it is made adjacent to a leaf y and a neighbor of a neighbor of y, also Gn always remains connected and planar. Furthermore, the Fibonacci numbers are and remain cut-vertices. There is some sort of fractal behavior in the growth of the blocks.

What about spanning paths in Gn when n is not a Fibonnaci number? If GFk has a spanning path, then since Fk has degree 1 in it, also GFk-1 has a spanning path. Working the other direction, recall that for Fk+1≤n≤(Fk+Fk+1)/2, the vertices beginning with Fk are leaves in Gn, with one exception when Fk is even. In that case, Fk/2 remains a leaf from when it arrives until n=Fk+1-Fk/2. After (Fk+Fk+1)/2, the higher leaves disappear one by one. The consequence is that except for a few values around the Fibonacci numbers, Gn has at least three leaves and hence no spanning path.

These observations show that only a few numbers around each Fibonacci number remain to be settled. The values of n up to 52 such that Gn has a spanning path are 1,2,3,4,5,7,8,9,11,12,13,20,21,33,34. Now 35 fails because 17,34,35 are leaves, and then 34,35,36 all remain leaves until 53, which is the next possibility.

When n is not a Fibonacci number, there may be a spanning path in Gn that the greedy algorithm cannot find. For example, 5 and 4 are leaves in G7, but the greedy algorithm does not start at either and hence cannot find the only spanning path, 5,3,2,6,7,1,4.

Question 3. Is there a nice generalization of Fibonacci-sum graphs to other recurrences?

Comment: The Lucas numbers satisfy the Fibonacci recurrence but with initial values 1 and 3 instead of 1 and 2. It seems likely that the Lucas-sum graphs share many properties with the Fibonacci-sum graphs.

Source Code:The Python script fibgraph.py generates Graphviz code for fibsum graphs. To use it, download the script and type

./fibgraph.py N
where N is the order of the Fibsum graph you wish to generate. If you have graphviz installed on your system, you can use the shell script fibshow to visualize the graphs directly. The syntax is exactly the same:
./fibshow N
If you are using the math machines, you can use the script mfibshow instead, which uses the graphviz installation in Greg Puleo's home directory. In all cases, before executing a script you will need to give it execute permissions:
chmod 700 fibgraph.py
chmod 700 fibshow
chmod 700 mfibshow