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!)
A143731 Characteristic function of numbers with at least two distinct prime factors (A024619). 11
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = 1 iff n is divisible by at least two distinct primes; otherwise 0.
LINKS
FORMULA
a(n) = abs(A079872(n)) = A057427(A079275(n)).
For n>1: a(n) = 1 - floor(1/A001221(n)). - Enrique Pérez Herrero, Aug 13 2012
MATHEMATICA
Table[Boole[PrimeNu[n]>1], {n, 1, 200}] (* Enrique Pérez Herrero, Aug 13 2012 *)
CROSSREFS
Cf. A215480.
Sequence in context: A353672 A323170 A215480 * A079872 A235046 A280046
KEYWORD
easy,nonn
AUTHOR
Reikku Kulon, Aug 30 2008
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 24 11:47 EDT 2024. Contains 371936 sequences. (Running on oeis4.)