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!)
A161381 Triangle read by rows: T(n,k) = n!*2^k/(n-k)! (n >= 0, 0 <= k <= n). 0

%I #31 Sep 08 2022 08:45:45

%S 1,1,2,1,4,8,1,6,24,48,1,8,48,192,384,1,10,80,480,1920,3840,1,12,120,

%T 960,5760,23040,46080,1,14,168,1680,13440,80640,322560,645120,1,16,

%U 224,2688,26880,215040,1290240,5160960,10321920,1,18,288,4032,48384,483840,3870720,23224320,92897280,185794560

%N Triangle read by rows: T(n,k) = n!*2^k/(n-k)! (n >= 0, 0 <= k <= n).

%C From _Dennis P. Walsh_, Nov 20 2012: (Start)

%C T(n,k) is the number of functions f:[k]->[2n] such that, if f(x)=f(y) or f(x)=2n+1-f(y), then x=y.

%C We call such functions injective-plus.

%C Equivalently, T(n,k) gives the number of ways to select k couples from n couples, then choose one person from each of the k selected couples, and then arrange those k individuals in a line. For example, T(50,10) is the number of ways to select 10 U.S. senators, one from each of ten different states, and arrange the senators in a reception line for a visiting dignitary. (End)

%H Mathieu Guay-Paquet and Jeffrey Shallit, <a href="http://arxiv.org/abs/0901.1397">Avoiding Squares and Overlaps Over the Natural Numbers</a>, arXiv:0901.1397 [math.CO], 2009.

%H Mathieu Guay-Paquet and Jeffrey Shallit, <a href="http://dx.doi.org/10.1016/j.disc.2009.06.004">Avoiding Squares and Overlaps Over the Natural Numbers</a>, Discrete Math., 309 (2009), 6245-6254.

%H Dennis Walsh, <a href="http://frank.mtsu.edu/~dwalsh/INJECTM3.pdf">Notes on injective-plus functions</a>

%F From _Dennis P. Walsh_, Nov 20 2012: (Start)

%F E.g.f. for column k : exp(x)*(2*x)^k.

%F G.f. for column k : (2*x)^k*k!/(1 - x)^(k+1).

%F T(n,k) = 2^(k-n)*Sum_{j = 0..n} (binomial(n,j)T(j,i)T(n-j,k-i). (End)

%F From _Peter Bala_, Feb 20 2016: (Start)

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

%F G.f. Sum_{n >= 1} (2*n*x*t)^(n-1)/(1 - (2*n*t - 1)*x)^n = 1 + (1 + 2*t)*x + (1 + 4*t + 8*t^2)*x^2 + ....

%F E.g.f. exp(x)/(1 - 2*x*t) = 1 + (1 + 2*t)*x + (1 + 4*t + 8*t^2)*x^2/2! + ....

%F E.g.f. for row n: (1 + 2*x)^n

%F Row reversed triangle is the exponential Riordan array [1/(1 - 2*x), x]. (End)

%e Triangle begins:

%e 1

%e 1 2

%e 1 4 8

%e 1 6 24 48

%e 1 8 48 192 384

%e 1 10 80 480 1920 3840

%e For n=2 and k=2, T(2,2)=8 since there are exactly 8 functions f from {1,2} to {1,2,3,4} that are injective-plus. Letting f = <f(1),f(2)>, the 8 functions are <1,2>, <1,3>, <2,1>, <2,4>, <3,1>, <3,4>, <4,2>,and <4,3>. - _Dennis P. Walsh_, Nov 20 2012

%p seq(seq(2^k*n!/(n-k)!,k=0..n),n=0..20); # _Dennis P. Walsh_, Nov 20 2012

%t Flatten@Table[Pochhammer[n - k + 1, k] 2^k, {n, 0, 20}, {k, 0, n}] (* J. Mulder (jasper.mulder(AT)planet.nl), Jan 28 2010 *)

%o (Magma) /* As triangle */ [[Factorial(n)*2^k/Factorial((n-k)): k in [0..n]]: n in [0.. 15]]; // _Vincenzo Librandi_, Dec 23 2015

%Y A010844 (row sums). Cf. A008279.

%K nonn,tabl,easy

%O 0,3

%A _N. J. A. Sloane_, Nov 28 2009

%E More terms from J. Mulder (jasper.mulder(AT)planet.nl), Jan 28 2010

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 26 14:52 EDT 2024. Contains 372003 sequences. (Running on oeis4.)