Number of s in {1,...,n}^n having shortest run with the same value of length 3.

A228622

Number of s in {1,...,n}^n having shortest run with the same value of length 3.

Terms

    a(0) =3a(1) =0a(2) =0a(3) =30a(4) =84a(5) =112a(6) =720a(7) =2610a(8) =6820a(9) =29304a(10) =112632a(11) =343434a(12) =1452780a(13) =5962080a(14) =20437536a(15) =84860838a(16) =366294996a(17) =1383836500a(18) =5823855240a(19) =25918399122a(20) =105425762860a(21) =455785055328

External references