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.

A228733 Number of arrays of the median of three adjacent elements of some length n+2 0..1 array.

Original entry on oeis.org

2, 4, 8, 16, 28, 50, 88, 156, 278, 496, 886, 1582, 2824, 5040, 8994, 16050, 28642, 51114, 91218, 162788, 290512, 518448, 925222, 1651150, 2946640, 5258570, 9384438, 16747458, 29887496, 53337194, 95185500, 169867942, 303146148, 540994292
Offset: 1

Views

Author

R. H. Hardin, Sep 01 2013

Keywords

Comments

Column 1 of A228740

Examples

			All solutions for n=4
..1..1..0..0..1..1..1..0..0..1..0..0..1..1..0..0
..0..1..0..0..0..1..0..1..1..1..0..1..1..0..1..0
..1..1..1..1..0..1..0..1..0..0..0..0..0..1..1..0
..1..1..1..0..1..0..0..0..0..0..1..1..1..0..1..0
		

Formula

Empirical: a(n) = 2*a(n-1) -a(n-3) +a(n-5).
Empirical: G.f. -2*x*(1+x)*(x^2-x+1) / ( -1+2*x-x^3+x^5 ). - R. J. Mathar, Sep 02 2013