Partitioning a number!!

In how many ways can one write a sum of (at least two) positive integers that add up to 11 11 ?


The answer is 1023.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Harsh Shrivastava
Oct 19, 2014

Let n n be a positive integer.Total number of ways in which we can write a sum of (at least two) positive integers that add up to n is

2 n 1 2^{n-1} 1 -1 .

Putting n = 11 n = 11 , we get total number of ways = 1023 = \boxed{1023}

Harsh Can you please provide a proof of formula .

Thanks

A Former Brilliant Member - 6 years, 3 months ago

Log in to reply

Consider a number N N .

We can write N N as 1 + 1 + 1 + . . . + 1 1 + 1 +1 +. . . +1 (N times).

Now we can place ( , ) (,) or + + between N N one's in 2 N 1 2^{N-1} ways. But we have to subtract the case when there is no + + .

Hence the final formula : 2 N 1 1 2^{N-1} - 1 .

@Kalash Verma

Harsh Shrivastava - 6 years, 3 months ago

Log in to reply

Thanks Harsh

A Former Brilliant Member - 6 years, 3 months ago

According to this formula Is it that 1+3 and 3+1 are two different sums ???

A Former Brilliant Member - 6 years, 3 months ago

Log in to reply

@A Former Brilliant Member No , they are the same @Kalash Verma .

Harsh Shrivastava - 6 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...