Hello guys does anyone knows how to define an arbitrary number of variables in an array?
That is how do I program in the following:
f(x1, x2, ..., xn) = f(x1 - 1, x2, ... , xn) + f(x1, x2 - 1, ... , xn) + ... + f(x1 - 1, x2, ... , xn-1)
The key is I don't want to fix the value of n...
Thanks a lot!
[partial answer in http://forums.wolfram.com/student-support/topics/27244;
related to http://forums.wolfram.com/student-support/topics/27254.
I think the new twist is to have code that generates the sum but to not build the sum until n is known. If Jung Min wants to evaluate the sum without knowing n, that could be hard.
- Forum Moderator]