I want to describe the set of all words in the following format: a0w1
where a represents EITHER 0 or 1, and w represents {0,1}*
So 00011 is valid as is 1010011, etc. etc.
I'm really new to set notation, so I'm not sure what I can do.
Is L = {a,0,w,1 | a = 0 or 1, w $\in$ {0,1}*} valid for what I want to describe?
Thanks!