login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122823 Triangle read by rows: T(n,k) = count of increasing runs in two concatenated k-permutations of [n]. 1

%I #2 Mar 31 2012 20:25:47

%S 2,7,11,15,96,132,26,378,2088,2664,40,1040,12960,66240,80640,57,2325,

%T 51600,594000,2894400,3412800,77,4536,157500,3225600,35380800,

%U 166924800,192326400,100,8036,402192,12877200,251193600,2667168000,12294374400

%N Triangle read by rows: T(n,k) = count of increasing runs in two concatenated k-permutations of [n].

%F T(n,k) = ((k+1) - (n-1)/2n) * Permute(n,k)^2

%e Triangle begins:

%e 2

%e 7 11

%e 15 96 132

%e Take the 2-permutations of [2] namely 12 and 21 and form all possible strings that are concatenations of two of these permutations. These are 1212,1221,2112,2121 with 2,3,3,3 increasing runs respectively. T(2,2) = 2+3+3+3 = 11.

%Y Column 1 = T(n, 1) = A005449, Second pentagonal numbers: n*(3n+1)/2.

%K easy,nonn,tabl

%O 1,1

%A _David Scambler_, Oct 29 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)