The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054202 a(n) = (n-1)! * Sum_{k=1..n} floor(k^k/k!). 2
1, 3, 14, 102, 1032, 12840, 194400, 3457440, 70680960, 1635863040, 42293664000, 1208201702400, 37796100249600, 1285064055475200, 47183768081049600, 1860676781483520000, 78432007085752320000, 3519255355814854656000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Table[(n-1)!*Sum[Floor[k^k/k!], {k, n}], {n, 20}] (* G. C. Greubel, Jul 31 2019 *)
PROG
(PARI) vector(20, n, (n-1)!*sum(k=1, n, k^k\k!)) \\ G. C. Greubel, Jul 31 2019
(Magma) F:=Factorial; [F(n-1)*(&+[Floor(k^k/F(k)): k in [1..n]]): n in [1..20]]; // G. C. Greubel, Jul 31 2019
(Sage) f=factorial; [f(n-1)*sum(floor(k^k/f(k)) for k in (1..n)) for n in (1..20)] # G. C. Greubel, Jul 31 2019
(GAP) F:=Factorial;; List([1..20], n-> F(n-1)*Sum([1..n], k-> Int(k^k/F(k)) )); # G. C. Greubel, Jul 31 2019
CROSSREFS
Cf. A054201.
Sequence in context: A284760 A076015 A004659 * A084420 A163882 A271213
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 29 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 18 02:04 EDT 2024. Contains 372615 sequences. (Running on oeis4.)