A problem with LateX array

Hi there, I'm attempting to create a few arrays in a couple of different documents and I keep getting an error. Here is two of them, the first being a fairly simple two row array and the second being a more complex array with 6 rows and varying inputs.

$$ \left.\begin{array}{ccccc}

{ }& {1} & {2} & {.....} & {n} \\

{B_$\lambda$} & {b_{$\lambda$ 1}} & {b_{$\lambda$ 2}} & {.....} & {b_{$\lambda$ n}}

\end{array}\right.$$

$$\left.\begin{array}{ccccccc}

& $\lambda \in \Lambda$ & & & & &

\\ $b_x \in B_\lambda$ & & 1st & 2nd & 3rd & .... & nth

\\ & 1st & b_{1,1} & b_{2,1} & b_{3,1} & .... & b_{n,1}

\\ & 2nd & b_{1,2} & b_{2,2} & b_{3,2} & .... & b_{n,2}

\\ & 3rd & b_{1,3} & b_{2,3} & b_{3,3} & .... & b_{n,3}

\\ & .... & .... & .... & .... & .... & ....

\\ & n & b_{1,n} & b_{2,n} & b_{3,n} & .... & b_{n,n}

\end{array}\right.$$

this is the error I get with both. ! Missing } inserted.

<inserted text>

}

l.21 {B_$

\lambda$} & {b_{$\lambda$ 1}} & {b_{$\lambda$ 2}} & {.....} & {b_{$...

?

I appreciate all the help you can give me.