This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A118167 #2 Oct 12 2013 15:18:07 %S A118167 0,0,1,2,3,93,464,1915,6336,316224,2805257,23139584,91581111, %T A118167 3772979200,77178291200,1022362697389,12006689439744,52812321503747, %U A118167 4709633119830016,110533093583273984,1995008117795780625 %N A118167 Minimum values of abs(x^x-n!) for given n. %e A118167 3! = 6, the closest x^x can get to 6 is 2^2, so a(3) = 3! - 2^2 = 2 %Y A118167 Cf. A118168, A118169. %K A118167 easy,nonn %O A118167 0,4 %A A118167 _Olaf Voß_, Apr 13 2006