login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A203969 Number of n X 2 0..2 arrays with every 1 immediately preceded by 0 to the left or above, and every 2 immediately preceded by 0 1 to the left or above 1

%I #8 Jun 06 2018 05:05:15

%S 2,7,29,106,396,1488,5569,20859,78133,292644,1096125,4105590,15377699,

%T 57598086,215736791,808054127,3026612006,11336343903,42460908170,

%U 159039700345,595692067467,2231197862121,8357076036219,31301894398172

%N Number of n X 2 0..2 arrays with every 1 immediately preceded by 0 to the left or above, and every 2 immediately preceded by 0 1 to the left or above

%C Column 2 of A203975.

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

%F Empirical: a(n) = 2*a(n-1) +3*a(n-2) +12*a(n-3) +4*a(n-4) +5*a(n-5) -9*a(n-6) -a(n-8) +a(n-9).

%F Empirical g.f.: x*(2 + 3*x + 9*x^2 + 3*x^3 + 5*x^4 - 8*x^5 - x^7 + x^8) / ((1 + x + x^2 - x^3)*(1 - 3*x - x^2 - 7*x^3 + x^4 + x^6)). - _Colin Barker_, Jun 06 2018

%e Some solutions for n=5:

%e ..0..1....0..1....0..1....0..1....0..0....0..0....0..0....0..0....0..0....0..0

%e ..0..1....1..0....0..0....0..1....1..1....0..0....0..1....1..0....0..1....1..1

%e ..0..0....0..1....0..1....1..0....0..1....0..1....1..2....2..1....0..1....0..0

%e ..0..1....0..2....1..0....2..0....0..1....0..1....0..0....0..0....0..0....0..0

%e ..0..0....0..1....2..0....0..0....1..0....0..1....0..0....0..1....1..1....1..1

%Y Cf. A203975.

%K nonn

%O 1,1

%A _R. H. Hardin_, Jan 08 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 10:53 EDT 2024. Contains 371240 sequences. (Running on oeis4.)