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.

A217878 Number of n-element 0..2 arrays with each element the minimum of 3 adjacent elements of a random 0..2 array of n+2 elements.

Original entry on oeis.org

3, 9, 22, 46, 91, 183, 383, 819, 1749, 3699, 7772, 16316, 34325, 72349, 152573, 321621, 677623, 1427389, 3006930, 6335210, 13348399, 28125235, 59258363, 124851495, 263048937, 554220135, 1167698552, 2460253944, 5183565225, 10921353721
Offset: 1

Views

Author

R. H. Hardin, Oct 14 2012

Keywords

Comments

See A228461 and A217883 for more information about the definition.

Examples

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

Crossrefs

Column 3 of A217954. Also a column of A217883. Cf. A217954.

Formula

Empirical: a(n) = 3*a(n-1) -3*a(n-2) +a(n-3) +3*a(n-4) -a(n-5) +a(n-6) +a(n-7).
Empirical g.f.: x*(1 + x^2 + x^3)*(3 + x^2 + x^3) / ((1 - x + x^2 + x^3)*(1 - 2*x - x^4)). - Colin Barker, Feb 23 2018