Triangle by pv2b

def f(n,s):\x0d
 if n<=l:\x0d
\x09f(n+s-1,s+1)\x0d
\x09while n<=l:print n,;n+=s;s+=1\x0d
\x09print\x0d
l=input()\x0d
f(1,2)

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

download

return top