login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A346478 Sum of A346476 and its Dirichlet inverse. 4
2, 0, 0, 1, 0, 2, 0, -3, 1, 6, 0, -11, 0, 6, 6, -5, 0, -23, 0, -29, 6, 18, 0, -3, 9, 18, -15, -37, 0, -60, 0, -9, 18, 30, 18, 23, 0, 30, 18, 1, 0, -84, 0, -83, -61, 34, 0, -13, 9, -67, 30, -91, 0, 45, 54, 5, 30, 54, 0, 75, 0, 50, -77, -5, 54, -184, 0, -137, 34, -176, 0, -13, 0, 66, -55, -145, 54, -188, 0, -37, 49 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A346476(n) + A346477(n).
a(1) = 2; and for n > 2, a(n) = -Sum_{d|n, 1<d<n} A346476(n/d) * A346477(d).
PROG
(PARI)
up_to = 16384;
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.
A346476(n) = (n+n-A250469(n));
v346477 = DirInverseCorrect(vector(up_to, n, A346476(n)));
A346477(n) = v346477[n];
A346478(n) = (A346476(n)+A346477(n));
CROSSREFS
Cf. also A323911, A346250, A346480.
Sequence in context: A349446 A353469 A349433 * A346250 A084143 A025888
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 30 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 13 00:23 EDT 2024. Contains 374259 sequences. (Running on oeis4.)