Number of length-n ternary sequences where the sum of each block differs by at most 1 from every other block of the same length.

A274008

Number of length-n ternary sequences where the sum of each block differs by at most 1 from every other block of the same length.

Terms

    a(0) =1a(1) =3a(2) =7a(3) =15a(4) =27a(5) =47a(6) =71a(7) =107a(8) =151a(9) =207a(10) =271a(11) =355a(12) =447a(13) =563a(14) =691a(15) =835a(16) =995a(17) =1187a(18) =1391a(19) =1631a(20) =1887a(21) =2167a(22) =2467a(23) =2811a(24) =3171a(25) =3571a(26) =3995a(27) =4455a(28) =4939a(29) =5479

External references