login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064911 If n is semiprime (or 2-almost prime) then 1 else 0. 39
0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

a(A100959(n)) = 0 and a(A001358(n)) = 1. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Nov 24 2004

a(n) = A057427(A174956(n)); a(n)*A072000(n) = A174956(n). [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Apr 03 2010]

a(n) = A010051(A032742(n)). [Reinhard Zumkeller, Mar 13 2011]

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

Eric Weisstein's World of Mathematics, Semiprime

Eric Weisstein's World of Mathematics, Prime zeta function primezeta(s).

Index entries for characteristic functions

FORMULA

Dirichlet g.f. (primezeta(2s) + primezeta(s)^2)/2. - Frank Adams-Watters (FrankTAW(AT)Netscape.net), Jun 09 2006

MAPLE

with (numtheory):

a:= n-> `if` (bigomega(n)=2, 1, 0):

seq (a(n), n=1..120);  # Alois P. Heinz, Mar 16 2011

PROG

(Haskell)

a064911 = a010051 . a032742 -- Reinhard Zumkeller, Mar 13 2011

(PARI) a(n)=bigomega(n)==2 \\ Charles R Greathouse IV, Mar 13 2011

CROSSREFS

Cf. A064899-A064910, A053409, A046413.

Sequence in context: A102215 A038189 A072783 * A174898 A099618 A106002

Adjacent sequences:  A064908 A064909 A064910 * A064912 A064913 A064914

KEYWORD

nonn

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com), Oct 13 2001.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 12 17:21 EST 2012. Contains 205432 sequences.