I am trying to figure out an appropriate method in determining how many terms there are for any given itteration So basically We are given an example where any particular stock can either go up by a factor or down by a factor after every closing period. So for instance after 5 closing periods how many term will there be taking into consideration that order obv doesn't matter since UUD=DUU=UDU
I believe the number you're looking for is perm(x)/x! Does that sound familiar?
what does perm(x) mean?
ohhh permutation
Or wait, \[\frac{\left(\begin{matrix}n \\ 2\end{matrix}\right)}{n!}\]
Right? I think dividing by n! covers the issue with order.
Haha whatever I'm doing is way off, but conceptually close I think. Obviously my number is less than 1.
ya no that wont work lemme draw a graph for the 3rd iteration
|dw:1427947698617:dw|
S represents the stock u=up factor d=down factor
So for the third iteration you have 4 choices
Could it be \[\frac{2^n}{(n-1)!}\]
hmmmmmmm
No, that's still not right for the 2nd iteration. It's right for 1 and 3 though. Weird.
kai you lil bish ...
So it's definitely going to be 2^n minus something. What you have is n spots, each with two options. Hence 2^n. But because of repetition, you need a way to count those that are repeated.
lol I'm not totally sure what you're asking for but like there will always be only n+1 possible choices and they will be distributed like @escolas is saying.
Haha wow, right..
omg -.-
this is embarrassing
Hahahaha this is called "Pascal's Triangle" lol
hahaha
This isnt even funny ,,, this is just sad
Can I erase all my embarrassing answers?
thanks escolas for attempting to help :)
ya sure :)
Hahah any time.. :P
Haha not sure I deserved that medal, but thank you very much. Cheers.
Join our real-time social learning platform and learn together with your friends!