In Need of Help In Defining a List of n variables



Hi,

I'm a new user of Maxima and am currently trying to figure out how to
produce a list of n variables (x1,... xn) where n is general. I'm aware of
the function makelist, but for this I need to define an integer value for n
which I don't want to do.

Ultimately I want to define the following function on these n variables:

g(x):=sum(((n*x[i])/sum(x[j],j,1,n)-1)^2,i,1,n)

and then find the taylor expansion of this function in the variables
x1,..xn.

Is it possible to do this without actually specifying a value for n?

Many many thanks,
Azhar