Number of length-n 0..3 arrays with no repeated value differing from the previous repeated value by other than plus two, zero or minus 1.

A269614

Number of length-n 0..3 arrays with no repeated value differing from the previous repeated value by other than plus two, zero or minus 1.

Terms

    a(0) =4a(1) =16a(2) =64a(3) =249a(4) =954a(5) =3611a(6) =13544a(7) =50442a(8) =186822a(9) =688899a(10) =2531406a(11) =9275757a(12) =33912330a(13) =123759252a(14) =450985950a(15) =1641487455a(16) =5969001906a(17) =21688869249a(18) =78760649178a(19) =285872602590

External references