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
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
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
[tex]S_n=S_{n-1}+S_{n-2} ---S_1+1[/tex]

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 [itex]S_n[/itex] is the number of ways to express [itex]n[/itex] 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 [itex]n[/itex] different cases.

Explicitly: if the last integer is 1, then the rest of the integers sum to [itex]n-1[/itex]...
 
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 [itex]S_n[/itex] is the number of ways to express [itex]n[/itex] 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 [itex]n[/itex] different cases.

Explicitly: if the last integer is 1, then the rest of the integers sum to [itex]n-1[/itex]...
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