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!)
A355685 Dirichlet inverse of A353380. 1
1, 0, 0, -1, 0, -1, 0, -1, -1, 0, 0, -1, 0, -1, -1, 1, 0, -1, 0, -1, 0, 0, 0, 2, -1, -1, -1, -1, 0, 0, 0, 1, -1, 0, -1, 2, 0, -1, 0, 0, 0, 0, 0, -1, -1, 0, 0, 3, -1, -1, -1, -1, 0, 2, 0, 2, 0, -1, 0, 1, 0, 0, -1, -1, -1, 0, 0, -1, -1, 0, 0, 5, 0, -1, -1, -1, -1, 0, 0, 2, 1, 0, 0, 1, 0, -1, 0, 0, 0, 1, 0, -1, -1, 0, -1, -2, 0, -1, -1, 1, 0, 0, 0, 2, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,24
LINKS
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A353380(n/d) * a(d).
a(p) = 0 for all primes p.
a(n) = a(A003961(n)) = a(A348717(n)), for all n >= 1.
PROG
(PARI)
A332823(n) = { my(f = factor(n), u=(sum(k=1, #f~, f[k, 2]*2^primepi(f[k, 1]))/2)%3); if(2==u, -1, u); };
A353354(n) = sumdiv(n, d, A332823(d));
A353380(n) = (0==A353354(n));
memoA355685 = Map();
A355685(n) = if(1==n, 1, my(v); if(mapisdefined(memoA355685, n, &v), v, v = -sumdiv(n, d, if(d<n, A353380(n/d)*A355685(d), 0)); mapput(memoA355685, n, v); (v)));
CROSSREFS
Cf. also A353348, A353418.
Sequence in context: A056977 A309144 A085425 * A244250 A167230 A093658
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 14 2022
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 1 19:14 EDT 2024. Contains 372176 sequences. (Running on oeis4.)