The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A258371 Triangle read by rows: T(n,k) is number of ways of arranging n indistinguishable points on an n X n square grid such that k rows contain at least one point. 3

%I #38 Nov 30 2016 22:04:36

%S 1,2,4,3,54,27,4,408,1152,256,5,2500,22500,25000,3125,6,13830,315900,

%T 988200,583200,46656,7,72030,3709545,25882780,40588905,14823774,

%U 823543,8,360304,39024384,535754240,1766195200,1657012224,411041792,16777216

%N Triangle read by rows: T(n,k) is number of ways of arranging n indistinguishable points on an n X n square grid such that k rows contain at least one point.

%C Row sums give A014062, n >= 1.

%C Leading diagonal is A000312, n >= 1.

%C The triangle t(n,k) = T(n,k)/binomial(n,k) gives the number of ways to place n stones into the k X n grid of squares such that each of the k rows contains at least one stone. See A259051. One can use a partition array for this (and the T(n,k)) problem. See A258152. - _Wolfdieter Lang_, Jun 17 2015

%H Giovanni Resta, <a href="/A258371/b258371.txt">Table of n, a(n) for n = 1..1830</a> (first 60 rows)

%F T(n,2) = binomial(n,2)*(binomial(2*n,n)-2). - _Giovanni Resta_, May 28 2015

%e The number of ways of arranging eight pawns on a standard chessboard such that two rows contain at least one pawn is T(8,2)=360304.

%e Triangle T(n,k) begins:

%e n\k 1 2 3 4 5 6 ...

%e 1: 1

%e 2: 2 4

%e 3: 3 54 27

%e 4: 4 408 1152 256

%e 5: 5 2500 22500 25000 3125

%e 6: 6 13830 315900 988200 583200 46656

%e ...

%e n = 7: 7 72030 3709545 25882780 40588905 14823774 823543,

%e n = 8: 8 360304 39024384 535754240 1766195200 1657012224 411041792 16777216.

%t T[n_,k_]:= Binomial[n,k] * Sum[Multinomial@@ (Last/@ Tally[e]) * Times@@ Binomial[n,e], {e, IntegerPartitions[n, {k}]}]; Flatten@ Table[ T[n,k],{n,9}, {k,n}] (* _Giovanni Resta_, May 28 2015 *)

%Y Cf. A000312, A014062, A258152, A259051.

%K nonn,tabl

%O 1,2

%A _Adam J.T. Partridge_, May 28 2015

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 June 6 00:30 EDT 2024. Contains 373110 sequences. (Running on oeis4.)