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!)
A324010 The sum of squares of the number of common points in all pairs of lattice paths from (0,0) to (x,y), for x >= 0, y >= 0 (the unnormalized second moment). The table is read by antidiagonals. 1

%I #35 Jul 31 2019 21:04:58

%S 1,4,4,9,26,9,16,92,92,16,25,240,474,240,25,36,520,1704,1704,520,36,

%T 49,994,4879,8084,4879,994,49,64,1736,11928,29560,29560,11928,1736,64,

%U 81,2832,25956,89928,134450,89928,25956,2832,81,100,4380,51648,238440,498140,498140,238440,51648,4380,100

%N The sum of squares of the number of common points in all pairs of lattice paths from (0,0) to (x,y), for x >= 0, y >= 0 (the unnormalized second moment). The table is read by antidiagonals.

%H Kevin Buchin, Kenny Chiu, Stefan Felsner, Günter Rote, André Schulz, <a href="http://arxiv.org/abs/1903.01095">The number of convex polyominoes with given height and width</a>, arXiv:1903.01095 [math.CO], 2019.

%F A(x,y) = (x+y+1) * binomial(x+y+2,x+1) * binomial(x+y,x) - binomial(2*x+2*y+2,2*x+1)/2.

%e There are two lattice paths from (0,0) to (x,y)=(1,1): P1=(0,0),(1,0),(1,1) and P2=(0,0),(0,1),(1,1), and hence 4 pairs of lattice paths: (P1,P1),(P1,P2),(P2,P1),(P2,P2). The number of common points is 3,2,2,3, respectively, and the sum of the squares of these numbers is 9+4+4+9 = 26 = a(1,1).

%e Table begins

%e 1 4 9 16 25 ...

%e 4 26 92 240 520 ...

%e 9 92 474 1704 4879 ...

%e 16 240 1704 8084 29560 ...

%e 25 520 4879 29560 134450 ...

%e ...

%t Table[(# + y + 1) Binomial[# + y + 2, # + 1] Binomial[# + y, #] - Binomial[2 # + 2 y + 2, 2 # + 1]/2 &[x - y], {x, 0, 9}, {y, 0, x}] // Flatten (* _Michael De Vlieger_, Apr 15 2019 *)

%o (PARI) a(x,y) = (x+y+1)*binomial(x+y+2,x+1)*binomial(x+y,x)-binomial(2*x+2*y+2,2*x+1)/2;

%o matrix(10, 10, n, k, a(n-1,k-1)) \\ _Michel Marcus_, Apr 08 2019

%Y See A306687 for the lower triangular half of the same data, read by rows.

%Y See A091044 for the unnormalized first moment (the sum of the number of common points without squaring).

%K nonn,easy,tabl

%O 0,2

%A _Günter Rote_, Feb 12 2019

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 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)