OFFSET
0,3
COMMENTS
Although this appears to be increasing rapidly and monotonically, Dave Rusin showed in the usenet discussion that a(4581631) is less than a(4581630): a(4581631)=4581631^4581631-4879731! is less than 8*10^30518328 while a(4581630) is just over 10^30518329.
FORMULA
a(n)=n^n-A064318(n)!
EXAMPLE
a(4)=136 since 4^4=256, the largest factorial less than or equal to 256 is 5!=120 and 256-120=136
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jan 22 2002
STATUS
approved