1. Home
  2. Explore
  3. Mathematics
  4. Fibonacci Sum Pattern

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Fibonacci Sum Pattern

Fibonacci Numbers and the Solitaire Army Problem

The Fibonacci Sequence and Its Sum Property

The Fibonacci sequence begins with 1,1,2,3,5,8,13,21,34,55,89,144,…1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, \dots1,1,2,3,5,8,13,21,34,55,89,144,… Each term from the third onward is the sum of the two preceding terms:

F1=1,  F2=1,  Fn=Fn−1+Fn−2(n≥3)F_1 = 1,\; F_2 = 1,\; F_n = F_{n-1} + F_{n-2} \quad (n \ge 3)F1​=1,F2​=1,Fn​=Fn−1​+Fn−2​(n≥3)

Sum of Fibonacci numbers
When adding consecutive Fibonacci numbers, a neat relationship emerges. For example:

  • Sum of first 1 term: 1=11 = 11=1

  • First 2 terms: 1+1=21+1 = 21+1=2

  • First 3 terms: 1+1+2=41+1+2 = 41+1+2=4

  • First 4 terms: 1+1+2+3=71+1+2+3 = 71+1+2+3=7

  • First 5 terms: 1+1+2+3+5=121+1+2+3+5 = 121+1+2+3+5=12

  • First 6 terms: 1+1+2+3+5+8=201+1+2+3+5+8 = 201+1+2+3+5+8=20

Comparing the sums with the Fibonacci sequence itself reveals:

  • 1=2−11 = 2 - 11=2−1 (sum to F1F_1F1​ vs F3−1F_3 - 1F3​−1)

  • 2=3−12 = 3 - 12=3−1 (sum to F2F_2F2​ vs F4−1F_4 - 1F4​−1)

  • 4=5−14 = 5 - 14=5−1 (sum to F3F_3F3​ vs F5−1F_5 - 1F5​−1)

  • 7=8−17 = 8 - 17=8−1 (sum to F4F_4F4​ vs F6−1F_6 - 1F6​−1)

  • 12=13−112 = 13 - 112=13−1 (sum to F5F_5F5​ vs F7−1F_7 - 1F7​−1)

  • 20=21−120 = 21 - 120=21−1 (sum to F6F_6F6​ vs F8−1F_8 - 1F8​−1)

Important identity: The sum of the first nnn Fibonacci numbers equals the (n+2)(n+2)(n+2)th Fibonacci number minus 1:

∑i=1nFi=Fn+2−1\sum_{i=1}^{n} F_i = F_{n+2} - 1∑i=1n​Fi​=Fn+2​−1

A direct consequence is that the sum up to FnF_nFn​ is always less than Fn+2F_{n+2}Fn+2​. This inequality will become a key tool in the proof later.

Proof idea: The identity is straightforward to prove by induction, noting that Fn+2=Fn+1+FnF_{n+2} = F_{n+1} + F_nFn+2​=Fn+1​+Fn​ and that the partial sums follow the same recurrence shifted.

Peg Solitaire Basics

Peg solitaire is a classic puzzle (17th-century precursor to the Rubik's Cube) played on a board with holes. The standard version uses a cross-shaped board, but the game can be generalized to any board.

Rules of a move:

  1. A peg jumps horizontally or vertically over an adjacent peg into an empty hole.

  2. The peg that was jumped over is removed from the board.

  3. Moves can be made in any direction (up, down, left, right) as long as the landing square is empty and the jumped peg is present.

  4. The goal in the standard game is to end with exactly one peg remaining in the center.

When playing, it's common to get stuck with several pegs. If only one peg remains, it can occupy only five specific positions on the standard board — a result that follows from invariants (often proved using coloring arguments or parity).

The Solitaire Army Invasion Problem

The solitaire army is a variation played on an infinite square grid. The grid is divided by a horizontal red line into two kingdoms: the TOP and the BOTTOM. The objective of the Bottom army is to use solitaire moves to advance as far as possible into the Top kingdom, sacrificing as few soldiers as possible. The army starts entirely below the red line. Soldiers can only move by standard peg solitaire jumps (horizontal or vertical). Any soldier that is jumped over is eliminated. At most one soldier survives the invasion.

This simulates a "life-and-death" invasion: soldiers leapfrog into enemy territory, and the game ends when no more moves are possible or the desired target is reached.

Key principle: To advance even one step into the Top, a soldier must jump from just below the line into the Top square. Therefore, at least two soldiers are needed for any advance (one to jump and one to be jumped over).

Constructing Invasions: The Backtracking Method

To find a starting formation that can advance a given number of steps into the Top, work backwards from the target. This is a form of reverse solitaire: start at the desired final position and "un-jump" to expand the formation.

Step 1

Advanced by a single soldier jumping from below. The minimal starting formation uses 2 soldiers arranged side by side below the line.

Step 2

Target position is two squares above the line. By working backwards:

  • The final soldier must come from a jump.

  • That jump required two soldiers in the row just below the target.

  • Expand further: one of those came from a sideways jump. Result: a rotated L-shaped formation of 4 soldiers (e.g., three in a row and one below the end).

Step 3

Target three squares above the line. Shift the step-2 formation up by one, then work backwards to create a starting formation. This yields a configuration of 8 soldiers.

Step 4

Continue backtracking from the step-3 solution. The minimal number of soldiers needed is now 20, not 16 as one might guess from the pattern 2,4,82,4,82,4,8. The starting formation is more complex but can be constructed by shift-and-expand.

Observed minimal soldier counts:

  • Step 1: 2 soldiers

  • Step 2: 4 soldiers

  • Step 3: 8 soldiers

  • Step 4: 20 soldiers

No simple pattern exists in the starting formations themselves. However, the numbers 2,4,82,4,82,4,8 initially suggest powers of two, but the step-4 value breaks that.

The Impossibility of 5 Steps

Remarkably, it is impossible to advance 5 steps into the Top, no matter how many soldiers are placed below the line and no matter how moves are made. This result, first proved by John Conway (using the golden ratio) and later refined by Martin Aigner (using Fibonacci numbers), is a classic in combinatorial game theory.

The proof relies on creating a weight function based on Fibonacci numbers assigned to the squares of a "triangle of death" that surrounds the target square.

The Triangle of Death

For a given target square (the yellow square on row 5), draw an infinite right-angled triangle (apex at the target, sides along the vertical and horizontal away from the Top). This triangle extends downward and outward infinitely, enclosing all squares that the invading army could ever occupy during the game. Any finite starting formation below the line will be contained within some sufficiently large such triangle.

Fill the triangle with Fibonacci numbers as follows:

  • Each row of the triangle contains Fibonacci numbers.

  • The apex (target) receives the largest number; numbers decrease as you move down and away.

  • The labeling is constructed so that the sum of any two adjacent numbers is equal to the number directly above and between them, mimicking the Fibonacci recurrence. This is reminiscent of Pascal's triangle but uses Fibonacci numbers.

Properties of the labeling:

  • Moving up (jumping toward the target) replaces two numbers with their sum — weight stays unchanged.

  • Moving down (jumping away) replaces a number with two smaller numbers — weight decreases.

  • Moving horizontally (across or along rows) either preserves or decreases the weight depending on direction.

Thus, the total weight (sum of numbers on occupied squares) of any formation never increases during the game; it either stays the same or decreases.

Key Lemma

For any starting formation completely contained within a triangle of death, the weight of the formation is strictly less than the number at the apex (the target square's label).

Proof outline:

  1. The weight of the entire triangular tip (the portion of the triangle that sits below the red line) is less than the apex label.

  2. Any formation inside that tip has weight ≤ the tip's weight.

  3. To show the tip's weight is less than the apex, sum the Fibonacci numbers column by column.

  4. Use the identity: sum of a column of Fibonacci numbers ending at FnF_nFn​ is less than Fn+2F_{n+2}Fn+2​.

  5. Chain these inequalities: the sum of the tip's columns is less than a sum of Fibonacci numbers that consecutive, and the sum of two consecutive Fibonacci numbers is the next one (the apex).

For the specific case of a target with label 144, the tip's weight is less than 55+89=14455+89 = 14455+89=144. Hence any formation in that triangle has weight < 144.

The Punchline

Suppose the army could reach the target square (apex). At that moment, at least that square would be occupied, so the weight of the formation would be at least the label of the target (since all labels are positive). However, the initial weight of the formation is less than that label, and weight never increases. Contradiction. Therefore, reaching the target is impossible.

Since any target on the 5th row can be enclosed by an appropriate triangle of death, no starting formation can reach any square 5 steps into the Top. This proves the 5-step impossibility for all finite armies.

Generalization and Variations

The Fibonacci-based proof extends to many variants:

  • Diagonal jumps allowed: If jumps are also allowed diagonally, advancing 5 steps becomes possible. The proof fails because the weight function no longer satisfies the non-increase property.

  • Allowing two soldiers on one square (a "stacked" setup) can also overcome the 5-step limit.

  • Infinite army: If the bottom is filled with infinitely many soldiers (and infinitely many jumps are allowed), 5 steps are possible in a counterintuitive way. The weight argument only works for finite formations.

  • Higher dimensions: In a 3D grid, the maximum number of steps into enemy territory (on the other side of a separating plane) is 7. In higher dimensions, the maximum advances grow as well, and Fibonacci-like invariants still apply.

These variations show that the Fibonacci triangle weight is a sharp invariant: it exactly captures the boundary between possible and impossible advances.

Summary of Key Ideas

  • Fibonacci sum identity: ∑i=1nFi=Fn+2−1\sum_{i=1}^{n} F_i = F_{n+2} - 1∑i=1n​Fi​=Fn+2​−1.

  • Peg solitaire: Jump over adjacent peg to an empty hole; removed peg is eliminated.

  • Solitaire army: Advance as many steps as possible into enemy territory using only vertical/horizontal jumps.

  • Backtracking method: Work backwards from target to construct starting formations.

  • Minimal soldiers: 2, 4, 8, 20 for steps 1–4; step 5 is impossible.

  • Weight function: Assign Fibonacci numbers to squares in a triangle of death; weight never increases.

  • Impossibility proof: Initial weight < target label, so target cannot be reached.

  • Variations: Diagonal jumps, infinite army, higher dimensions change the maximum advance.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent