Combinatorics - Recurrence Relation Question

Click For Summary

Homework Help Overview

The problem involves determining the number of ways to express a number n as a sum of integers, where each integer is at least 2. The original poster is exploring a recurrence relation for g(n) and its similarity to the Fibonacci sequence.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to split g(n) into two cases based on whether the sequences include the integer 2 or not. Some participants discuss the correspondence between these cases and the sequences for g(n-1) and g(n-2).

Discussion Status

Participants are actively exploring the relationship between g(n), g(n-1), and g(n-2). Some guidance has been offered regarding how to manipulate sequences to illustrate the recurrence relation, though consensus on the mapping has not been reached.

Contextual Notes

The discussion is constrained by the requirement to prove the recurrence relation for n ≥ 3 and the need to establish a clear connection between the cases being considered.

luke8ball
Messages
22
Reaction score
0

Homework Statement



For n ≥ 1, let g(n) be the number of ways to write n as the sum of
the integers in a sequence of any length, where each integer in the sequence is at least 2.

For n≥3, show that g(n) = g(n-1) + g(n-2).2. The attempt at a solution

I've gone through values of g(n) for small values of 'n,' and it's clear to me that the recurrence relation is the same as that of the Fibonacci, with different starting values of 'n.' However, to prove the relation, I'm trying to split an arbitrary g(n) into two disjoint cases. I feel like somehow I must show that g(n) can be manipulated into two different contexts, one which is the exact same as g(n-1), and another the same as g(n-2). Any ideas? I can't think of how to split this into two cases.
 
Physics news on Phys.org
Given a summation of integers that sums to n, there are two possibilities: the summation contains a 2 or it doesn't contain a 2.
 
That makes sense. Looking at the possibilities of sequences written out, there seems to be a one-to-one correspondence between sequences in g(n) which contain a 2 and g(n-1), and a correspondence between those which don't contain a 2 and g(n-2). However, I don't see how to map them to each other?
 
Actually, scratch that: I might have figured it out.

For those sequences in g(n-1), do you add 1 to the last number in each sequence? That would give you a sequence which sums to n.

For those sequences in g(n-2), you append a 2 to the sequence?
 
That looks correct to me
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K