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.

Showing 1-3 of 3 results.

A102864 Leading column of A102416.

Original entry on oeis.org

2, 2, 4, 16, 28, 56, 108, 216, 424, 848, 1684, 3368, 6712, 13424, 26808, 53616, 107152, 214304, 428460, 856920, 1713544, 3427088
Offset: 0

Views

Author

N. J. A. Sloane, Mar 17 2005

Keywords

A103179 Row sums of A102416.

Original entry on oeis.org

2, 2, 6, 20, 38, 78, 160, 316, 644, 1296, 2578, 5186, 10368, 20744, 41532, 83076, 166172, 332364, 664864, 1329768, 2659656, 5319504
Offset: 0

Views

Author

N. J. A. Sloane, Mar 17 2005

Keywords

A099766 Triangle read by rows: T(n,k) = number of unbordered binary words of length n and weight k, n >= 0, 0 <= k <= n.

Original entry on oeis.org

1, 1, 1, 0, 2, 0, 0, 2, 2, 0, 0, 2, 2, 2, 0, 0, 2, 4, 4, 2, 0, 0, 2, 4, 8, 4, 2, 0, 0, 2, 6, 12, 12, 6, 2, 0, 0, 2, 6, 18, 22, 18, 6, 2, 0, 0, 2, 8, 24, 40, 40, 24, 8, 2, 0, 0, 2, 8, 32, 60, 80, 60, 32, 8, 2, 0, 0, 2, 10, 40, 92, 140, 140, 92, 40, 10, 2, 0, 0, 2, 10, 50, 128, 232
Offset: 0

Views

Author

N. J. A. Sloane, Nov 11 2004

Keywords

Examples

			Triangle begins:
.1
.1,1
.0,2,0
.0,2,2,0
.0,2,2,2,0
.0,2,4,4,2,0
.0,2,4,8,4,2,0
		

Crossrefs

Row sums give A003000. Cf. A099768, A102416.

Programs

  • Maple
    U:=proc(n,k) option remember; if n < 1 then RETURN(0); fi; if n = 1 then RETURN(1); fi; if n > 1 and k = 0 then RETURN(0); fi; if k > 1 and k >= n then RETURN(0); fi; U(n-1,k)+U(n-1,k-1)-E(n,k); end;
    E:=proc(n,k) option remember; if n mod 2 = 0 and k mod 2 = 0 then U(n/2,k/2) else 0; fi; end;

Formula

See Maple code.
Showing 1-3 of 3 results.