I have the series 2, 2, 6, 10, 22, 42, 86, 170, 342, 682 which follows the following:
M(1)=2
M(2)=2
M(3)=M(1)+M(2)+2
M(4)=M(3)+M(2)+M(1)
M(5)=M(4)+M(3)+M(2)+M(1)+2
M(6)=M(5)+M(4)+M(3)+M(2)+M(1)
Each value for M(N) for N >= 3 is the sum of all previous values, and add 2 if N is odd...