OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
MATHEMATICA
a[n_]:=a[n]=(-1)^(n-1)+Sum[Binomial[a[n/d]+d-1, d], {d, Divisors[n]//Rest}];
Array[a, 40]
PROG
(PARI) A305610(n) = ((-1)^(n-1) + sumdiv(n, d, if(d==1, 0, binomial(A305610(n/d)+d-1, d)))); \\ Antti Karttunen, Dec 05 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 06 2018
STATUS
approved