I think 2^(n-1) - 1

On Tue, Aug 16, 2011 at 8:36 PM, sameer gupta <gupta.sameer...@gmail.com>wrote:

>  no. of ways you can write a no. as sum of other non-zero positive
> integers
> like 3 can be written in
> 3 ways:
> 1+1+1,
> 1+2
> 2+1
>  imp. 2+1 and 1+2 are different
> find the answer and give and prove formula for any value 'n'
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to