login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A204295
Number of n X 2 0..3 arrays with every element neighboring horizontally or vertically both a 0 and a 1, and 2 introduced before 3 in row major order.
1
0, 4, 4, 16, 68, 212, 776, 3076, 11540, 44944, 177748, 700292, 2779272, 11069140, 44107780, 176038288, 703199588, 2809956020, 11232774920, 44913243940, 179603461748, 718287355024, 2872823053300, 11490415637348, 45959392743048
OFFSET
1,2
COMMENTS
Column 2 of A204301.
LINKS
FORMULA
Empirical: a(n) = 4*a(n-1) +2*a(n-2) +4*a(n-3) -42*a(n-4) -30*a(n-5) +13*a(n-6) +38*a(n-7) +28*a(n-8) -16*a(n-9).
Empirical g.f.: 4*x^2*(1 - 3*x - 2*x^2 - 5*x^3 + 15*x^4 + 4*x^5 + 4*x^6 - 8*x^7) / ((1 - x)*(1 + x)*(1 - 4*x)*(1 - 3*x + x^2)*(1 + x + x^2)*(1 + 2*x + 4*x^2)). - Colin Barker, Jun 07 2018
EXAMPLE
Some solutions for n=5:
..0..0....0..1....0..1....1..1....0..0....1..0....0..1....0..1....1..0....0..0
..1..1....0..1....0..1....0..0....1..1....1..0....0..1....0..1....1..0....1..1
..0..0....2..1....1..1....2..1....0..1....0..1....2..0....0..1....1..0....0..2
..1..1....1..0....0..0....1..1....0..0....0..1....1..0....1..0....1..0....0..1
..0..0....1..0....1..1....0..0....1..1....0..1....1..0....1..0....1..0....0..1
CROSSREFS
Cf. A204301.
Sequence in context: A375990 A038788 A010099 * A203101 A060691 A075225
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 14 2012
STATUS
approved