login
A323899
Dirichlet inverse of A287896 (A001511(n)*A002487(n)).
2
1, -2, -2, 1, -3, 4, -3, 0, 0, 6, -5, -2, -5, 6, 8, 0, -5, 0, -7, -3, 4, 10, -7, 0, 2, 10, 0, -3, -7, -16, -5, 0, 14, 10, 9, 0, -11, 14, 10, 0, -11, -8, -13, -5, -8, 14, -9, 0, 0, -4, 8, -5, -13, 0, 19, 0, 18, 14, -11, 8, -9, 10, 14, 0, 23, -28, -11, -5, 14, -18, -13, 0, -15, 22, -20, -7, 13, -20, -13, 0, 2, 22, -19, 4, 9, 26, 10, 0, -17
OFFSET
1,2
LINKS
PROG
(PARI)
up_to = 20000;
DirInverse(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = -sumdiv(n, d, if(d<n, v[n/d]*u[d], 0))); (u) }; \\ Compute the Dirichlet inverse of the sequence given in input vector v.
A001511(n) = (1+valuation(n, 2));
A002487(n) = { my(a=1, b=0); while(n>0, if(bitand(n, 1), b+=a, a+=b); n>>=1); (b); }; \\ From A002487
A287896(n) = (A001511(n)*A002487(n));
v323899 = DirInverse(vector(up_to, n, A287896(n)));
A323899(n) = v323899[n];
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Feb 12 2019
STATUS
approved