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!)
A305803 Dirichlet inverse of A078898. 3
1, -1, -1, -1, -1, -1, -1, -1, -1, -3, -1, 1, -1, -5, -1, -1, -1, -2, -1, 1, -2, -9, -1, 3, -1, -11, -2, 1, -1, 1, -1, -1, -4, -15, -1, 5, -1, -17, -5, 5, -1, 1, -1, 1, -1, -21, -1, 5, -1, -14, -7, 1, -1, -4, -2, 7, -8, -27, -1, 17, -1, -29, -2, -1, -3, 1, -1, 1, -10, -11, -1, 8, -1, -35, -6, 1, -1, 1, -1, 9, -5, -39, -1, 26, -4, -41, -13, 11, -1, 6, -2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,10
LINKS
FORMULA
a(1) = 1; for n > 1, a(n) = -Sum_{d|n, d<n} A078898(n/d)*a(d).
PROG
(PARI)
up_to = 65537;
ordinal_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), pt); for(i=1, length(invec), if(mapisdefined(om, invec[i]), pt = mapget(om, invec[i]), pt = 0); outvec[i] = (1+pt); mapput(om, invec[i], (1+pt))); outvec; };
A020639(n) = if(n>1, if(n>n=factor(n, 0)[1, 1], n, factor(n)[1, 1]), 1); \\ From A020639
v078898 = ordinal_transform(vector(up_to, n, A020639(n)));
A078898(n) = v078898[n];
A305803(n) = if(1==n, 1, -sumdiv(n, d, if(d<n, A078898(n/d)*A305803(d), 0)));
CROSSREFS
Sequence in context: A342666 A268032 A339899 * A243813 A318453 A318313
KEYWORD
sign
AUTHOR
Antti Karttunen, Jun 13 2018
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 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)