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!)
A358389 a(n) = n * Sum_{d|n} (d + n/d - 2)!/d!. 3
1, 3, 7, 29, 121, 745, 5041, 40425, 362917, 3629411, 39916801, 479006233, 6227020801, 87178326495, 1307674369891, 20922790211057, 355687428096001, 6402373709009185, 121645100408832001, 2432902008212933061, 51090942171709581289, 1124000727778046764823 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: Sum_{k>0} k! * (x/(1 - x^k))^k.
If p is prime, a(p) = 1 + p!.
MATHEMATICA
Table[n*DivisorSum[n, ((# + n/# - 2)!)/(#!) &], {n, 22}] (* Michael De Vlieger, Nov 13 2022 *)
PROG
(PARI) a(n) = n*sumdiv(n, d, (d+n/d-2)!/d!);
(PARI) my(N=30, x='x+O('x^N)); Vec(sum(k=1, N, k!*(x/(1-x^k))^k))
CROSSREFS
Sequence in context: A363208 A088095 A333392 * A358279 A217576 A173280
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Nov 13 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 April 18 06:12 EDT 2024. Contains 371769 sequences. (Running on oeis4.)