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!)
A323883 Dirichlet inverse of A322026. 3
1, -2, -3, 0, -1, 7, -1, 2, 2, 2, -1, 0, -1, 2, 3, -1, -1, -6, -1, 0, 3, 2, -1, -11, 0, 2, 3, 0, -1, -7, -1, -1, 3, 2, 1, -1, -1, 2, 3, -2, -1, -7, -1, 0, -2, 2, -1, 7, 0, 0, 3, 0, -1, -9, 1, -2, 3, 2, -1, 0, -1, 2, -2, 3, 1, -7, -1, 0, 3, -2, -1, 20, -1, 2, 0, 0, 1, -7, -1, 1, -6, 2, -1, 0, 1, 2, 3, -2, -1, 6, 1, 0, 3, 2, 1, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI)
up_to = 65537;
rgs_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(om, invec[i]), my(pp = mapget(om, invec[i])); outvec[i] = outvec[pp] , mapput(om, invec[i], i); outvec[i] = u; u++ )); outvec; };
A007814(n) = valuation(n, 2);
A007949(n) = valuation(n, 3);
v322026 = rgs_transform(vector(up_to, n, [A007814(n), A007949(n)]));
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.
v323883 = DirInverse(v322026);
A323883(n) = v323883[n];
CROSSREFS
Sequence in context: A319665 A004443 A171616 * A008290 A322147 A059066
KEYWORD
sign
AUTHOR
Antti Karttunen, Feb 08 2019
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 24 10:00 EDT 2024. Contains 371935 sequences. (Running on oeis4.)