Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #6 Dec 05 2013 19:55:17
%S 0,0,3,8,95,504,2639,7552,303831,2628800,20429629,49019904,5411290079,
%T 66517244416,731023977375,3330603843584,321415531788367,
%U 5245542324301824,79592116946574941,794502008176640000
%N a(n) = n! - n^k where n^(k+1) > n! >= n^k.
%H Vincenzo Librandi, <a href="/A069703/b069703.txt">Table of n, a(n) for n = 1..200</a>
%t f[n_] := Block[{k = 0}, While[(n! - n^k) >= 0, k++ ]; Return[n! - n^(k - 1)]]; Table[ f[n], {n, 2, 22}]
%K nonn
%O 1,3
%A _Amarnath Murthy_, Apr 07 2002
%E Edited and extended by _Robert G. Wilson v_, Apr 08 2002