OFFSET
0,4
EXAMPLE
3! = 6, the closest x^x can get to 6 is 2^2, so a(3) = 3! - 2^2 = 2
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Olaf Voß, Apr 13 2006
STATUS
approved