<?$t=fgets(STDIN);for($c=$d=$f=1;$c<=$t;$c++){echo$c.(($c==$f)?"\n":' ');if($c==$f)$f+=++$d;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page