Triangle by nn

for(i=m="$System.in".toLong();u=i;)for(v=i*--i/2+1;v<=m;v+=++u)print v+u<m?v+' ':v+'\n'

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

download

return to the top page