Number of 2Xn 0..3 arrays with no element equal to zero plus the sum of elements to its left or one plus the sum of the elements above it or one plus the sum of the elements diagonally to its northwest or zero plus the sum of the elements antidiagonally to its northeast, modulo 4.

A241357

Number of 2Xn 0..3 arrays with no element equal to zero plus the sum of elements to its left or one plus the sum of the elements above it or one plus the sum of the elements diagonally to its northwest or zero plus the sum of the elements antidiagonally to its northeast, modulo 4.

Terms

    a(0) =3a(1) =3a(2) =9a(3) =17a(4) =23a(5) =53a(6) =103a(7) =160a(8) =344a(9) =643a(10) =1059a(11) =2196a(12) =4039a(13) =6930a(14) =13970a(15) =25512a(16) =45059a(17) =88830a(18) =161841a(19) =291573a(20) =565051a(21) =1029968a(22) =1879844a(23) =3596548a(24) =6568902a(25) =12087395a(26) =22908471a(27) =41950860a(28) =77573588a(29) =146021963

External references