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.

A228742 Number of arrays of the median of three adjacent elements of some length 7 0..n array.

Original entry on oeis.org

28, 185, 696, 1943, 4504, 9191, 17088, 29589, 48436, 75757, 114104, 166491, 236432, 327979, 445760, 595017, 781644, 1012225, 1294072, 1635263, 2044680, 2532047, 3107968, 3783965, 4572516, 5487093, 6542200, 7753411, 9137408, 10712019
Offset: 1

Views

Author

R. H. Hardin, Sep 01 2013

Keywords

Comments

Row 5 of A228740

Examples

			Some solutions for n=4
..2..2..4..2..2..1..3..2..1..3..0..3..2..0..0..3
..2..2..4..0..2..0..2..1..4..3..2..1..4..1..4..3
..4..2..4..4..1..0..2..0..1..3..0..2..0..4..1..0
..1..4..1..0..4..0..0..1..4..1..0..2..0..1..4..2
..2..1..2..4..1..0..1..3..4..2..0..3..0..4..1..2
		

Formula

Empirical: a(n) = (n+1)*(19*n^4+186*n^3+349*n^2+226*n+60)/60.
Empirical: G.f. -x*(-28-17*x-6*x^2+18*x^3-6*x^4+x^5) / (x-1)^6. - R. J. Mathar, Sep 02 2013