x(n):=sum(x[i],i,1,n)$

x[x(1)];

x[x(10)];

x[x(100)];

x[x[x[x[1]]]];