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!)
A346247 Sum of A344587 (the deficiency of prime shifted n) and its Dirichlet inverse. 5
2, 0, 0, 4, 0, 16, 0, 12, 16, 24, 0, 16, 0, 40, 48, 37, 0, 28, 0, 28, 80, 48, 0, 36, 36, 64, 88, 52, 0, -48, 0, 114, 96, 72, 120, 54, 0, 88, 128, 68, 0, -64, 0, 64, 116, 112, 0, 92, 100, 68, 144, 88, 0, 124, 144, 132, 176, 120, 0, -12, 0, 144, 204, 349, 192, -72, 0, 100, 224, -72, 0, 128, 0, 160, 160, 124, 240, -88, 0, 182 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A344587(n) + A346246(n).
a(n) = A323911(A003961(n)).
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.
A003961(n) = { my(f=factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); }; \\ From A003961
A344587(n) = { my(u=A003961(n)); (u+u - sigma(u)); };
v346246 = DirInverseCorrect(vector(up_to, n, A344587(n)));
A346246(n) = v346246[n];
A346247(n) = (A344587(n)+A346246(n));
CROSSREFS
Cf. also A346250.
Sequence in context: A349383 A359428 A354867 * A323412 A349354 A354352
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 19 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 April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)