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!)
A342964 Constant term in the expansion of ( (Sum_{j=0..n} x^(2*j+1)+1/x^(2*j+1)) * (Sum_{j=0..n} y^(2*j+1)+1/y^(2*j+1)) - (Sum_{j=0..n-1} x^(2*j+1)+1/x^(2*j+1)) * (Sum_{j=0..n-1} y^(2*j+1)+1/y^(2*j+1)) )^(2*n). 1
1, 12, 2100, 1751680, 4190017860, 20874801722544, 177661172742061008, 2295966445175463883680, 41848194615009705993547620, 1022849138778659709119846990032, 32304962696573489860535097887683296 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Number of (2*n)-step closed paths (from origin to origin) in 2-dimensional lattice, using steps (t_1,t_2) (|t_1| + |t_2| = 2*n+1).
Constant term in the expansion of (Sum_{j=0..2*n+1} (x^j + 1/x^j)*(y^(2*n+1-j) + 1/y^(2*n+1-j)) - x^(2*n+1) - 1/x^(2*n+1) - y^(2*n+1) - 1/y^(2*n+1))^(2*n).
LINKS
Wikipedia, Taxicab geometry.
PROG
(PARI) f(n) = (x^(2*n+2)-1/x^(2*n+2))/(x-1/x);
a(n) = sum(j=0, 2*n, (-1)^j*binomial(2*n, j)*polcoef(f(n)^j*f(n-1)^(2*n-j), 0)^2);
CROSSREFS
Main diagonal of A329066.
Sequence in context: A204622 A369336 A004823 * A009063 A012675 A175014
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 31 2021
STATUS
approved

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 May 13 21:17 EDT 2024. Contains 372523 sequences. (Running on oeis4.)