Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "how to write recurrence function"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:5+1 =



Original Message (ID '39336') By Bill Simpson:
Is this what you are looking for? In[1]:= f[1]=x1; f[n_]:=f[n-1]*Plus@@Table[ToExpression["x"<>ToString[i]],{i,1,n}] In[3]:= f[1] Out[3]= x1 In[4]:= f[2] Out[4]= x1 (x1+x2) In[5]:= f[3] Out[5]= x1 (x1+x2) (x1+x2+x3)