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!)
A353674 a(n) = 1 if n is an even number with an odd number of distinct prime factors, otherwise 0. 4

%I #12 Jul 16 2023 09:42:39

%S 0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,

%T 0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,0,0,

%U 0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,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,0,0,0,0,1,0

%N a(n) = 1 if n is an even number with an odd number of distinct prime factors, otherwise 0.

%H Antti Karttunen, <a href="/A353674/b353674.txt">Table of n, a(n) for n = 1..65537</a>

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%F a(n) = A059841(n) * A092248(n).

%F a(n) = A059841(n) - A353674(n).

%F a(n) = A092248(n) - A353673(n).

%t Table[If[EvenQ[n]&&OddQ[PrimeNu[n]],1,0],{n,140}] (* _Harvey P. Dale_, Jul 16 2023 *)

%o (PARI) A353674(n) = (!(n%2) && (omega(n)%2));

%Y Cf. A001221, A059841, A092248, A353672, A353673, A353675.

%Y Characteristic function of A098904.

%Y Cf. also A353556.

%K nonn

%O 1

%A _Antti Karttunen_, May 03 2022

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 August 17 22:26 EDT 2024. Contains 375234 sequences. (Running on oeis4.)