OFFSET
1,2
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..4096
PROG
(PARI) seq(n)={my(v=vector(n, k, k==1)); for(k=2, n, my(m=logint(n, k), p=1/(1 - x + O(x*x^m))^(1+k), w=vector(n)); for(i=0, m, w[k^i]=polcoef(p, i)); v=dirmul(v, w)); v} \\ Andrew Howroyd, Oct 28 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 28 2019
STATUS
approved