login
A317853
a(1) = 1; a(n > 1) = Sum_{0 < k < n} (-1)^(n - k - 1) a(n - k) Sum_{d|k} a(d).
5
1, 1, 1, 1, 2, 2, 5, 6, 11, 14, 23, 26, 51, 70, 114, 147, 237, 314, 516, 715, 1118, 1549, 2353, 3252, 5011, 7235, 10724, 15142, 22504, 32506, 47770, 69173, 100980, 146657, 212504, 308563, 448256, 658037, 946166, 1373739, 1988283, 2919185, 4197886, 6118850
OFFSET
1,5
MATHEMATICA
a[n_]:=a[n]=If[n==1, 1, Sum[(-1)^(n-k-1)*a[n-k]*Sum[a[d], {d, Divisors[k]}], {k, n-1}]];
Array[a, 50]
KEYWORD
nonn
AUTHOR
Gus Wiseman, Aug 09 2018
STATUS
approved