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!)
A353374 a(n) = 1 if the prime factorization of n has an even number of prime factors that sum to an even number, otherwise 0. 8
1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
This is the characteristic function of A345452, see comments there.
LINKS
FORMULA
a(n) = A035263(n) * A065043(n).
a(n) = [A008836(n) == +1] * [A001414(n) is even], where [ ] is the Iverson bracket.
a(n) = A065043(n) * A356163(n). - Antti Karttunen, Nov 03 2022
PROG
(PARI) A353374(n) = if(bigomega(n)%2, 0, my(f = factor(n)); 0==((sum(i=1, #f~, f[i, 2]*f[i, 1]))%2));
(PARI) A353374(n) = (!(bigomega(n)%2) && !(valuation(n, 2)%2)); \\ After the function "is" provided in A345452 by David A. Corneth, Jun 24 2021
CROSSREFS
Characteristic function of A345452.
Cf. A001222, A001414, A008836, A035263, A065043, A353375, A353376 (inverse Möbius transform), A353377, A353378, A356163.
Cf. also A353331, A353370.
Sequence in context: A227291 A271102 A353800 * A326072 A304362 A368997
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 17 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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)