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.

A096588 a(n)=number of Catalan knight paths in Quadrant I from (0,0) to points on the vertical line x=n. A Catalan knight moves (2 right and 1 up) or (1 right and 1 down).

Original entry on oeis.org

1, 1, 3, 6, 16, 38, 99, 248, 646, 1659, 4342, 11307, 29740, 78115, 206349, 545156, 1445332, 3834559, 10197168, 27140709, 72357778, 193076677, 515843630, 1379308111, 3691755414, 9888374480, 26507373732, 71103941488, 190859621124
Offset: 0

Views

Author

Clark Kimberling, Jun 28 2004

Keywords

Examples

			Rows of array T(n,k) in A096587:
  1
  0 0 1
  1 1 0 0 1
  0 1 2 2 0 0 1
  ...
so a(3)=T(3,0)+T(3,1)+...+T(3,6)=6.
		

Crossrefs

Cf. A096587.

Programs

  • Mathematica
    A096588list[nmax_]:=Module[{T},T[0,0]=1;T[n_,k_]:=T[n,k]=If[0<=k<=2n,T[n-1,k-2]+T[n-2,k-1]+T[n-1,k+2]+T[n-2,k+1],0];Table[Sum[T[n,k],{k,0,2n}],{n,0,nmax}]];A096588list[50] (* Paolo Xausa, May 22 2023 *)

Formula

Row sums of array in A096587.