login
Dirichlet g.f.: zeta(s) / (zeta(s-1) * zeta(s-2)).
1

%I #9 Feb 16 2022 15:41:01

%S 1,-5,-11,3,-29,55,-55,3,16,145,-131,-33,-181,275,319,3,-305,-80,-379,

%T -87,605,655,-551,-33,96,905,16,-165,-869,-1595,-991,3,1441,1525,1595,

%U 48,-1405,1895,1991,-87,-1721,-3025,-1891,-393,-464,2755,-2255,-33,288,-480,3355,-543,-2861,-80,3799

%N Dirichlet g.f.: zeta(s) / (zeta(s-1) * zeta(s-2)).

%C Dirichlet inverse of A069097.

%F a(1) = 1; a(n) = -Sum_{d|n, d < n} A069097(n/d) * a(d).

%F a(n) = Sum_{d|n} A023900(n/d) * A334657(d).

%F a(n) = Sum_{d|n} A046970(n/d) * A055615(d).

%F a(n) = Sum_{d|n} A000005(n/d) * A328254(d).

%t A069097[n_] := Sum[GCD[n, k]^2, {k, 1, n}]; a[1] = 1; a[n_] := a[n] = -Sum[A069097[n/d] a[d], {d, Most @ Divisors[n]}]; Table[a[n], {n, 1, 55}]

%o (PARI)

%o up_to = 20000;

%o DirInverseCorrect(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = (-u[1]*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.

%o A069097(n) = sumdiv(n, d, moebius(n/d)*d*sigma(d));

%o v351654 = DirInverseCorrect(vector(up_to, n, A069097(n)));

%o A351654(n) = v351654[n]; \\ _Antti Karttunen_, Feb 16 2022

%o (PARI) for(n=1, 100, print1(direuler(p=2, n, (1 - p*X)*(1 - p^2*X)/(1 - X))[n], ", ")) \\ _Vaclav Kotesovec_, Feb 16 2022

%Y Cf. A000005, A023900, A046970, A055615, A069097, A101035, A328254, A334657.

%K sign,mult

%O 1,2

%A _Ilya Gutkovskiy_, Feb 16 2022