p(x):=printf(?t,"~d ",x);if(1=n:?read())then p(1)else(p(a:(10^n-1)/9),sum(p(10^(n-1)+1),i,3,n),p(a));

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page