OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
Jon Maiga, Computer-generated formulas for A323910, Sequence Machine.
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A033879(n/d) * a(d).
From Antti Karttunen, Nov 14 2024: (Start)
Following convolution formulas have been conjectured for this sequence by Sequence Machine, with each one giving the first 10000 terms correctly:
(End)
MATHEMATICA
b[n_] := 2 n - DivisorSigma[1, n];
a[n_] := a[n] = If[n == 1, 1, -Sum[b[n/d] a[d], {d, Most@ Divisors[n]}]];
Array[a, 100] (* Jean-François Alcover, Feb 17 2020 *)
PROG
(PARI)
up_to = 16384;
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.
A033879(n) = (2*n-sigma(n));
v323910 = DirInverse(vector(up_to, n, A033879(n)));
A323910(n) = v323910[n];
CROSSREFS
KEYWORD
sign,changed
AUTHOR
Antti Karttunen, Feb 12 2019
STATUS
approved