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!)
A359595 Parity of A358777, where A358777 is Dirichlet inverse of the characteristic function of odd numbers with an even number of prime factors (counted with multiplicity). 9
1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
a(n) = A358777(n) mod 2 = A359589(n) mod 2.
A353480(n) <= a(n) <= A353557(n). [See comments in A358777]
PROG
(PARI)
A353557(n) = ((n%2)&&(!(bigomega(n)%2)));
memoA358777 = Map();
A358777(n) = if(1==n, 1, my(v); if(mapisdefined(memoA358777, n, &v), v, v = -sumdiv(n, d, if(d<n, A353557(n/d)*A358777(d), 0)); mapput(memoA358777, n, v); (v)));
A359595(n) = (A358777(n)%2);
CROSSREFS
Characteristic function of A359596.
Parity of A358777 and of A359589.
Cf. A353557.
Differs from A353480 at the positions given by A359597: after 1 for the next time at n=135, where a(135) = 1.
Sequence in context: A279760 A287457 A358777 * A353557 A324917 A369974
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 09 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 11 19:50 EDT 2024. Contains 373317 sequences. (Running on oeis4.)