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!)
A356486 a(n) = (n-1)! * Sum_{d|n} d^n / (d-1)!. 2
1, 5, 29, 358, 3149, 98196, 824263, 73122736, 784270089, 158028202000, 285315299411, 855386690484096, 302875585593853, 5876921233326141376, 111916280261483009775, 73985874496557113890816, 827240282809126652177, 1625215094103508198780449024 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
If p is prime, a(p) = p^p + (p-1)!.
E.g.f.: -Sum_{k>0} log(1 - (k * x)^k)/k!.
MATHEMATICA
a[n_] := (n-1)! * DivisorSum[n, #^n / (#-1)! &]; Array[a, 18] (* Amiram Eldar, Aug 30 2023 *)
PROG
(PARI) a(n) = (n-1)!*sumdiv(n, d, d^n/(d-1)!);
(PARI) my(N=20, x='x+O('x^N)); Vec(serlaplace(-sum(k=1, N, log(1-(k*x)^k)/k!)))
CROSSREFS
Sequence in context: A226668 A226666 A366411 * A289483 A216027 A087899
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 09 2022
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 August 21 17:22 EDT 2024. Contains 375353 sequences. (Running on oeis4.)