A228631 Number of s in {1,...,n}^n having shortest run with the same value of length 5.
5, 0, 0, 0, 0, 90, 220, 264, 312, 364, 3360, 11280, 26656, 47430, 74556, 246240, 824040, 2242086, 5166260, 10272168, 26698800, 81381300, 233188956, 593255880, 1353111928, 3416572650, 9872919060, 28825911968, 78295457856, 194146795920, 496358103500
Offset: 5
Keywords
Examples
a(5) = 5: [1,1,1,1,1], [2,2,2,2,2], [3,3,3,3,3], [4,4,4,4,4], [5,5,5,5,5]. a(10) = 2*C(10,2) = 90: [1,1,1,1,1,2,2,2,2,2], ..., [10,10,10,10,10,9,9,9,9,9].
Links
- Alois P. Heinz, Table of n, a(n) for n = 5..180
Crossrefs
Column k=5 of A228617.