I hope this roughly qualifies as homework help. I've been spending an hour to get this one line into the TeXworks program:

Code:

\Bbb P(\xi_n=1)={1\over\log n} \mbox{ and } \Bbb P(\xi_n=0)=1-{1\over\log n}

What I get is shown in the attachment. I was happy to have the left half of the expression finally work out correctly, but the right half is slowly driving me berserk. What am I doing wrong?

Thanks in advance!