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!)
A349347 Sum of A181988 and its Dirichlet inverse, where A181988(n) = A001511(n)*A003602(n). 2
2, 0, 0, 4, 0, 8, 0, 4, 4, 12, 0, 4, 0, 16, 12, 5, 0, 12, 0, 6, 16, 24, 0, 8, 9, 28, 12, 8, 0, 8, 0, 6, 24, 36, 24, 14, 0, 40, 28, 12, 0, 12, 0, 12, 26, 48, 0, 10, 16, 34, 36, 14, 0, 32, 36, 16, 40, 60, 0, 28, 0, 64, 36, 7, 42, 20, 0, 18, 48, 24, 0, 20, 0, 76, 46, 20, 48, 24, 0, 15, 37, 84, 0, 38, 54, 88, 60, 24, 0, 40 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A181988(n) + A349346(n).
a(1) = 2, and for n > 1, a(n) = -Sum_{d|n, 1<d<n} A181988(d) * A349346(n/d).
PROG
(PARI)
up_to = 20000;
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.
A001511(n) = 1+valuation(n, 2);
A003602(n) = (1+(n>>valuation(n, 2)))/2;
A181988(n) = (A001511(n)*A003602(n));
v349346 = DirInverseCorrect(vector(up_to, n, A181988(n)));
A349346(n) = v349346[n];
A349347(n) = (A181988(n)+A349346(n));
CROSSREFS
Sequence in context: A140668 A353369 A323900 * A354187 A349345 A349357
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 15 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 May 8 09:43 EDT 2024. Contains 372332 sequences. (Running on oeis4.)