login

Revision History for A295525

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Number of n X 2 0..1 arrays with each 1 horizontally or vertically adjacent to 1, 2 or 4 1s.
(history; published version)
#8 by Alois P. Heinz at Wed Feb 21 14:40:31 EST 2018
STATUS

reviewed

approved

#7 by Michel Marcus at Wed Feb 21 14:37:00 EST 2018
STATUS

proposed

reviewed

#6 by Colin Barker at Wed Feb 21 13:45:13 EST 2018
STATUS

editing

proposed

#5 by Colin Barker at Wed Feb 21 13:44:56 EST 2018
NAME

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

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

EXAMPLE

Some solutions for n=5:

STATUS

approved

editing

#4 by R. H. Hardin at Thu Nov 23 09:23:01 EST 2017
STATUS

editing

approved

#3 by R. H. Hardin at Thu Nov 23 09:22:58 EST 2017
LINKS

R. H. Hardin, <a href="/A295525/b295525.txt">Table of n, a(n) for n = 1..210</a>

#2 by R. H. Hardin at Thu Nov 23 09:22:27 EST 2017
NAME

allocated for R. H. Hardin

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

DATA

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,1

COMMENTS

Column 2 of A295531.

FORMULA

Empirical: a(n) = 2*a(n-1) +2*a(n-2) +5*a(n-3) -a(n-5) -a(n-6)

EXAMPLE

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.

KEYWORD

allocated

nonn

AUTHOR

R. H. Hardin, Nov 23 2017

STATUS

approved

editing

#1 by R. H. Hardin at Thu Nov 23 09:19:16 EST 2017
NAME

allocated for R. H. Hardin

KEYWORD

allocated

STATUS

approved