OFFSET
1,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
MATHEMATICA
f[n_] := Block[{k = 0}, While[(n! - n^k) >= 0, k++ ]; Return[n! - n^(k - 1)]]; Table[ f[n], {n, 2, 22}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 07 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Apr 08 2002
STATUS
approved