A301786 Number of nX4 0..1 arrays with every element equal to 0 or 1 horizontally or antidiagonally adjacent elements, with upper left element zero.
5, 9, 17, 32, 61, 116, 221, 421, 802, 1528, 2911, 5546, 10566, 20130, 38351, 73065, 139201, 265201, 505252, 962589, 1833892, 3493869, 6656401, 12681550, 24160460, 46029691, 87694210, 167072042, 318300002, 606414395, 1155320189, 2201076937
Offset: 1
Keywords
Examples
Some solutions for n=5 ..0..0..1..0. .0..1..0..1. .0..1..0..1. .0..1..1..0. .0..0..1..0 ..1..0..1..0. .1..0..1..0. .0..1..0..1. .0..0..1..0. .1..0..1..1 ..1..0..1..0. .1..0..1..1. .0..1..0..1. .1..0..1..0. .1..0..0..1 ..1..0..1..0. .1..0..0..1. .0..1..0..1. .0..1..0..1. .1..1..0..0 ..1..0..1..1. .1..1..0..1. .0..1..0..0. .0..1..0..1. .0..1..1..0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A301790.
Formula
Empirical: a(n) = a(n-1) +2*a(n-2) -a(n-4)
Comments