T(n,k) is the number of length n 1..(k+1) arrays with every leading partial sum divisible by 2, 3, 5, 7 or 11.

A254947

T(n,k) is the number of length n 1..(k+1) arrays with every leading partial sum divisible by 2, 3, 5, 7 or 11.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =3a(4) =6a(5) =4a(6) =4a(7) =12a(8) =18a(9) =8a(10) =5a(11) =20a(12) =48a(13) =54a(14) =16a(15) =6a(16) =30a(17) =94a(18) =173a(19) =148a(20) =32a(21) =7a(22) =40a(23) =157a(24) =382a(25) =548a(26) =342a(27) =58a(28) =8a(29) =52

External references