login
x for which abs(n^n-x!) is minimal for given n.
2

%I #2 Oct 12 2013 15:18:07

%S 1,1,3,4,5,7,8,9,10,12,13,14,15,17,18,19,20,22,23,24,25,27,28,29,30,

%T 31,33,34,35,36,37,39,40,41,42,43,45,46,47,48,49,51,52,53,54,55,57,58,

%U 59,60,61,63,64,65,66,67,68,70,71,72,73,74,76,77,78,79,80,81,83,84,85,86

%N x for which abs(n^n-x!) is minimal for given n.

%e 3^3 = 27, the closest x! can get to 27 is 4!, so a(3) = 4

%Y Cf. A118168, A118169.

%K easy,nonn

%O 0,3

%A _Olaf Voß_, Apr 13 2006