OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..450
EXAMPLE
E.g.f.: A(x) = x - x^2/2! + 2*x^3/3! - 6*x^5/5! + 60*x^6/6! - 540*x^7/7! + ...
MAPLE
N:= 50: # for a(1)..a(N)
g:= log(1 + add(x^(k^2)/k^2, k=1..floor(sqrt(N)))):
S:= series(g, x, N+1):
seq(coeff(S, x, n)*n!, n=1..N); # Robert Israel, Jun 07 2018
MATHEMATICA
nmax = 23; Rest[CoefficientList[Series[Log[1 + Sum[x^k^2/k^2, {k, 1, nmax}]], {x, 0, nmax}], x] Range[0, nmax]!]
nmax = 23; Rest[CoefficientList[Series[Log[1 + Log[Product[1/(1 - x^k)^(LiouvilleLambda[k]/k), {k, 1, nmax}]]], {x, 0, nmax}], x] Range[0, nmax]!]
a[n_] := a[n] = Boole[IntegerQ[n^(1/2)]] (n - 1)! - Sum[k Binomial[n, k] Boole[IntegerQ[(n - k)^(1/2)]] (n - k - 1)! a[k], {k, 1, n - 1}]/n; a[0] = 0; Table[a[n], {n, 23}]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jun 06 2018
STATUS
approved