List and Array indexing



Good day for all.

There are some problems...

kill(x,a)$
x:makelist(x[2*k/(k^2+1)],k,-2,3);
x[1]:a$
x;
x[0];
x[-4/5];
listp(x);
arrayinfo(x);

kill(x,a)$
x[1]:a$
x:makelist(x[2*k/(k^2+1)],k,-2,3);
x[1];
x[0];
x[-4/5];
listp(x);
arrayinfo(x);

Can somebody explain to me the logic of indexing?

Thanks.