Serving the Quantitative Finance Community

Search found 3 matches

by sana1631
December 6th, 2010, 8:02 pm
Forum: Brainteaser Forum
Topic: How many way such that subtotal is always >= 0?
Replies: 4
Views: 25205

How many way such that subtotal is always >= 0?

Awesome, thank you very much.After reading through the wiki page, since n start from 0, I think the correctly answer for 100 numbers should be: 100!-------------- = 1,978,261,657,756,160,653,623,774,456 51! * 50! where n = 50.
by sana1631
December 6th, 2010, 3:34 pm
Forum: Brainteaser Forum
Topic: How many way such that subtotal is always >= 0?
Replies: 4
Views: 25205

How many way such that subtotal is always >= 0?

I don't think that's correct.For i = 50, there are total of about 10^15 combination. Number of sequences such that the subtotal is always >= 0 should be much smaller. 50!------------ = 126,410,606,437,752 (about 10^15)25! * 25!
by sana1631
December 6th, 2010, 1:18 pm
Forum: Brainteaser Forum
Topic: How many way such that subtotal is always >= 0?
Replies: 4
Views: 25205

How many way such that subtotal is always >= 0?

<t>Hello,I would like to get some help with following brainteaser:Suppose there are fifty "1" and fifty "-1".How many way this sequence of 100 numbers can be constructed such that the subtotal is always >= 0?For example:In case of 2 numbers, there is only 1 way:1, -1In case of 4 numbers, there are 2...