T(n,k)=Number of -k..k arrays x(0..n-1) of n elements with zero sum, and adjacent elements not both strictly positive and not both strictly negative.
A199898
T(n,k)=Number of -k..k arrays x(0..n-1) of n elements with zero sum, and adjacent elements not both strictly positive and not both strictly negative.
Terms
- a(0) =1a(1) =1a(2) =3a(3) =1a(4) =5a(5) =7a(6) =1a(7) =7a(8) =15a(9) =15a(10) =1a(11) =9a(12) =25a(13) =49a(14) =33a(15) =1a(16) =11a(17) =37a(18) =111a(19) =159a(20) =75a(21) =1a(22) =13a(23) =51a(24) =209a(25) =461a(26) =533a(27) =171a(28) =1a(29) =15
External references
- oeis: A199898