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!)
A358775 a(n) = 1 if the prime factorization of n has an even number of prime factors that sum to an odd number, otherwise 0. 3
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
a(n) = A065043(n) * A000035(A007814(n)).
a(n) = A065043(n) * (1-A356163(n)).
a(n) = A065043(n) - A353374(n).
PROG
(PARI) A358775(n) = (!(bigomega(n)%2) * (valuation(n, 2)%2));
(PARI) A358775(n) = if(bigomega(n)%2, 0, my(f = factor(n)); 1==((sum(i=1, #f~, f[i, 2]*f[i, 1]))%2));
CROSSREFS
Characteristic function of A358776.
Sequence in context: A011673 A361463 A104853 * A354981 A231600 A347579
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 01 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 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)