OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
PROG
(PARI)
up_to = 65537;
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.
A047994(n) = { my(f=factor(n)~); prod(i=1, #f, (f[1, i]^f[2, i])-1); };
v323407 = DirInverse(vector(up_to, n, A047994(n)));
A323407(n) = v323407[n];
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 15 2019
STATUS
approved