cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A060897 Number of walks of length n on square lattice, starting at origin, staying in first and third quadrants.

This page as a plain text file.
%I A060897 #30 Jan 06 2023 03:22:13
%S A060897 1,4,12,44,144,528,1808,6676,23536,87568,315136,1180680,4314560,
%T A060897 16263896,60138816,227899484,850600944,3238194560,12177384544,
%U A060897 46542879384,176110444736,675431779856,2568878867200,9882068082112,37747540858240,145593279888736,558190182662144
%N A060897 Number of walks of length n on square lattice, starting at origin, staying in first and third quadrants.
%C A060897 Is there a formula analogous to the (conjectured) formula for A060900?
%C A060897 Could be broken into the number of walks that are constrained to a quadrant and the number that cross the origin. (I.e., 2*A005566(n) + 2*A005566(n-2)*A005568(1) + 2*A005566(n-4)*A005568(2) + ... + All terms that cross the origin twice + three times + ... + Cross floor(n/2) times.) - _Benjamin Phillabaum_, Mar 13 2011
%H A060897 Alois P. Heinz, <a href="/A060897/b060897.txt">Table of n, a(n) for n = 0..750</a> (first 251 terms from Sean A. Irvine)
%F A060897 G.f.: 1 + 2*(B(x)-1)/(2 - C(x^2)) where B(x) is the g.f. of A005566 and C(x) is the g.f. of A005568. - _Andrew Howroyd_, Jan 05 2023
%o A060897 (PARI) \\ here B is A005566 and C is aerated A005568 as g.f.'s.
%o A060897 B(n)={sum(n=0, n, x^n*binomial(n, n\2)*binomial(n+1, (n+1)\2), O(x*x^n))}
%o A060897 C(n)={sum(n=0, (n+1)\2, x^(2*n)*binomial(2*n,n)*binomial(2*n+2,n+1)/((n+1)*(n+2)), O(x*x^n))}
%o A060897 seq(n) = {Vec( 1 + 2*(B(n)-1)/(2-C(n)) )} \\ _Andrew Howroyd_, Jan 05 2023
%Y A060897 Cf. A005566, A005568, A001700, A060898, A060899, A060900.
%K A060897 nonn
%O A060897 0,2
%A A060897 _David W. Wilson_, May 05 2001