123606domain: NAppears in sequencesa(n) = n*(n+1)*(n^2 - 3*n + 6)/4.at n=27A062026Number T(n,k) of permutations of [n] with exactly k (possibly overlapping, cyclic wrap-around) occurrences of the consecutive step pattern UDU (U=up, D=down); triangle T(n,k), n>=0, 0<=k<=floor(n/2), read by rows.at n=27A232933