<?for($a=fgets(STDIN);++$i<$a;print" ")for($j=0;++$j<$a;)printf('%3s',strtoupper(base_convert($i*$j,10,$a)));
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page