The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A364249 Dirichlet inverse of A359374. 2
1, -1, 0, 1, -1, -1, -1, -1, 0, 1, -1, 2, -1, 1, 0, 1, -1, -1, -1, -1, 0, 1, -1, -3, 0, 1, 0, -1, -1, 1, -1, -1, 0, 1, 1, 3, -1, 1, 0, 1, -1, 1, -1, -1, 0, 1, -1, 4, 0, 0, 0, -1, -1, -1, 1, 1, 0, 1, -1, -2, -1, 1, 0, 1, 1, 1, -1, -1, 0, -1, -1, -6, -1, 1, 0, -1, 1, 1, -1, -1, 0, 1, -1, -2, 1, 1, 0, 1, -1, 1, 1, -1, 0, 1, 1, -5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
LINKS
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A359374(n/d) * a(d).
PROG
(PARI)
A359374(n) = !(((n%2)&&!(n%3))||!(n%4));
memoA364249 = Map();
A364249(n) = if(1==n, 1, my(v); if(mapisdefined(memoA364249, n, &v), v, v = -sumdiv(n, d, if(d<n, A359374(n/d)*A364249(d), 0)); mapput(memoA364249, n, v); (v)));
CROSSREFS
Cf. A359374, A364250 (read modulo 2).
Sequence in context: A360158 A329885 A085737 * A191904 A265892 A324966
KEYWORD
sign
AUTHOR
Antti Karttunen, Jul 17 2023
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 June 8 09:36 EDT 2024. Contains 373217 sequences. (Running on oeis4.)