I'm trying to calculate the number of $2$-element chains and anti-chains of $B_n$, where $B_n$ is the boolean algebra partially ordered set of degree $n$.
I understand that I want to take all of the different combinations of two sets $A$ and $B$ that are subsets of $[n]$, in which $A\subsetneq B$. But I'm not sure about the general strategy. Could any one give me some hints on this problem?

HINT: Every pair of subsets of $[n]$ is either a chain or an antichain. It’s probably a bit easier to count the chains. To form a chain $A\subsetneqq B\subseteq[n]$, you need to split $[n]$ into three subsets, $A$, $B\setminus A$, and $[n]\setminus B$. The only restriction is that $B\setminus A$ must not be empty. Imagine going through $[n]$ one element at a time, tossing each element into one of the three sets. How many ways are there to do this? How many of them have to be discarded, because they leave $B\setminus A$ empty?