Number of length-n 0..3 arrays with no repeated value differing from the previous repeated value by plus or minus one modulo 3+1.

A269685

Number of length-n 0..3 arrays with no repeated value differing from the previous repeated value by plus or minus one modulo 3+1.

Terms

    a(0) =4a(1) =16a(2) =64a(3) =248a(4) =944a(5) =3544a(6) =13168a(7) =48536a(8) =177776a(9) =647896a(10) =2351728a(11) =8508440a(12) =30701168a(13) =110537560a(14) =397266544a(15) =1425629336a(16) =5109684848a(17) =18295104472a(18) =65449056880a(19) =233970500888a(20) =835908980336

External references