Euclids orchard by clock

<?for($n=fgets(STDIN);++$i<=$n;print~\xf5)for($j=0;++$j<=$n;print$p?t:~\xdf)for($p=$d=1;++$d<=$j;)$p*=$i%$d+$j%$d;

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

download

return to the top page