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.

A295525 Number of n X 2 0..1 arrays with each 1 horizontally or vertically adjacent to 1, 2 or 4 1s.

Original entry on oeis.org

2, 10, 29, 87, 280, 876, 2735, 8583, 26900, 84274, 264107, 827651, 2593568, 8127490, 25469197, 79812833, 250109752, 783769936, 2456102483, 7696696911, 24119166438, 75582316528, 236852570799, 742225734425, 2325915393694, 7288729246884
Offset: 1

Views

Author

R. H. Hardin, Nov 23 2017

Keywords

Comments

Column 2 of A295531.

Examples

			Some solutions for n=5:
..1..1. .1..1. .1..1. .1..1. .1..0. .0..0. .0..0. .0..0. .0..1. .1..1
..1..0. .1..0. .1..1. .0..0. .1..0. .1..1. .1..1. .1..1. .0..1. .0..1
..1..1. .0..0. .0..0. .1..1. .1..0. .1..0. .0..0. .0..0. .0..0. .0..1
..0..1. .0..1. .1..0. .0..1. .1..1. .1..0. .1..1. .1..1. .1..0. .0..0
..0..1. .1..1. .1..1. .0..1. .0..0. .0..0. .1..0. .1..1. .1..1. .1..1
		

Crossrefs

Cf. A295531.

Formula

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