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!)
A345884 G.f. A(x) satisfies: A(x) = x * exp(2 * Sum_{k>=1} (-1)^k * A(x^k) / k). 1
1, -2, 7, -26, 103, -442, 1982, -9122, 42985, -206526, 1007322, -4974066, 24819268, -124949782, 633882799, -3237261340, 16629986395, -85873762466, 445491479309, -2320717519612, 12134813554225, -63667883444468, 335083404759136, -1768545061282712, 9358571746569760 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: x / Product_{n>=1} (1 + x^n)^(2*a(n)).
a(n+1) = (2/n) * Sum_{k=1..n} ( Sum_{d|k} (-1)^(k/d) * d * a(d) ) * a(n-k+1).
MAPLE
a:= proc(n) option remember; `if`(n=1, 1, 2*add(a(n-k)*add(d*a(d)
*(-1)^(k/d), d=numtheory[divisors](k)), k=1..n-1)/(n-1))
end:
seq(a(n), n=1..25); # Alois P. Heinz, Jun 28 2021
MATHEMATICA
nmax = 25; A[_] = 0; Do[A[x_] = x Exp[2 Sum[(-1)^k A[x^k]/k, {k, 1, nmax}]] + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x] // Rest
a[1] = 1; a[n_] := a[n] = (2/(n - 1)) Sum[Sum[(-1)^(k/d) d a[d], {d, Divisors[k]}] a[n - k], {k, 1, n - 1}]; Table[a[n], {n, 1, 25}]
CROSSREFS
Sequence in context: A150542 A150543 A150544 * A150545 A150546 A151296
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jun 28 2021
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 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)