Number of ways of expressing n as positive integers

  • Context: Undergrad 
  • Thread starter Thread starter dr hannibal
  • Start date Start date
  • Tags Tags
    Integers Positive
Click For Summary
SUMMARY

The discussion centers on the function S_n, which represents the number of ways to express a positive integer n as a sum of positive integers, where the order of summands matters. The values established are S_1=1, S_2=2, and S_3=4, with the recursive relationship S_n = S_{n-1} + S_{n-2} - S_1 + 1. The confusion arises from the notation and the interpretation of expressing integers, specifically regarding the different combinations that yield the same sum. The example provided clarifies that S_3 can be expressed in four distinct ways: 1+1+1, 2+1, 1+2, and 3.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with recursive functions
  • Knowledge of integer partitions
  • Basic notation in mathematical expressions
NEXT STEPS
  • Study the concept of integer partitions in combinatorics
  • Learn about recursive sequences and their applications
  • Explore generating functions for counting partitions
  • Investigate the relationship between permutations and combinations in summation problems
USEFUL FOR

Mathematicians, students studying combinatorics, and anyone interested in the theory of integer partitions and recursive functions.

dr hannibal
Messages
10
Reaction score
0
sorry for the many threads

Let S_n denote the number of ways of expressing n as positive integrs..
S_1=1 , s_2=2, s_3=4 ..

Prove that
S_n=S_{n-1}+S_{n-2} ---S_1+1

no idea to prove that :
 
Mathematics news on Phys.org
Sorry, but to me it's not clear what your question means. What does it mean to express a positive integer as positive integers? I can only think of one way to express 3 as a positive integer, namely by 3. Can you show how S_3 = 4?

Your notation in the equation is also confusing. What is the meaning of three consecutive minus signs?
 
I assume that you mean S_n is the number of ways to express n as a sum of positive integers, where orders matters.

Consider the different cases for the last integer in the sum, all of which are disjoint, since order matters. There are n different cases.

Explicitly: if the last integer is 1, then the rest of the integers sum to n-1...
 
nicksauce said:
Sorry, but to me it's not clear what your question means. What does it mean to express a positive integer as positive integers? I can only think of one way to express 3 as a positive integer, namely by 3. Can you show how S_3 = 4?

Your notation in the equation is also confusing. What is the meaning of three consecutive minus signs?

it means 3 can be written as 1+1+1 , 2+1, 1+2, 3 so 4 different ways..
 
tmccullough said:
I assume that you mean S_n is the number of ways to express n as a sum of positive integers, where orders matters.

Consider the different cases for the last integer in the sum, all of which are disjoint, since order matters. There are n different cases.

Explicitly: if the last integer is 1, then the rest of the integers sum to n-1...
Yup that's what I meant
for your hint how would I use notation to represent it ..just one line would be enough

c, its just I have been grappling with this question for far too long and have not made any headway..

Thanks
 

Similar threads

Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 26 ·
Replies
26
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K