A228630 Number of s in {1,...,n}^n having shortest run with the same value of length 4.
4, 0, 0, 0, 56, 144, 180, 220, 1716, 5928, 14560, 26880, 97680, 344352, 978588, 2346120, 7444580, 25763640, 79547622, 213434848, 663024312, 2288434800, 7496808800, 21967834824, 68476484916, 235311849416, 802176548700, 2519791766160, 8048777883936
Offset: 4
Keywords
Examples
a(4) = 4: [1,1,1,1], [2,2,2,2], [3,3,3,3], [4,4,4,4]. a(8) = 2*C(8,2) = 56: [1,1,1,1,2,2,2,2], ..., [8,8,8,8,7,7,7,7].
Links
- Alois P. Heinz, Table of n, a(n) for n = 4..180
Crossrefs
Column k=4 of A228617.