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.

A297507 Number of 2 X n 0..1 arrays with every 1 horizontally, diagonally or antidiagonally adjacent to 1 or 2 neighboring 1s.

This page as a plain text file.
%I A297507 #9 Feb 28 2019 16:21:09
%S A297507 1,10,31,68,218,729,2097,6139,18932,57273,170792,514608,1554993,
%T A297507 4677797,14071941,42401182,127713015,384477424,1157762858,3486768241,
%U A297507 10499588277,31616525407,95208917296,286707283257,863361068252,2599853035248
%N A297507 Number of 2 X n 0..1 arrays with every 1 horizontally, diagonally or antidiagonally adjacent to 1 or 2 neighboring 1s.
%H A297507 R. H. Hardin, <a href="/A297507/b297507.txt">Table of n, a(n) for n = 1..210</a>
%F A297507 Empirical: a(n) = 3*a(n-1) - 2*a(n-2) + 9*a(n-3) - 6*a(n-4) - 8*a(n-5).
%F A297507 Empirical g.f.: x*(1 + 7*x + 3*x^2 - 14*x^3 - 8*x^4) / (1 - 3*x + 2*x^2 - 9*x^3 + 6*x^4 + 8*x^5). - _Colin Barker_, Feb 28 2019
%e A297507 Some solutions for n=7:
%e A297507 ..1..0..0..1..1..0..0. .0..1..0..0..0..1..0. .1..0..0..0..0..0..0
%e A297507 ..1..1..0..0..0..1..1. .1..0..1..0..0..1..1. .1..1..0..0..1..1..1
%Y A297507 Row 2 of A297506.
%K A297507 nonn
%O A297507 1,2
%A A297507 _R. H. Hardin_, Dec 31 2017