The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A204678 Number of n X 1 0..3 arrays with no occurrence of three equal elements in a row horizontally, vertically, diagonally or antidiagonally, and new values 0..3 introduced in row major order. 5

%I #9 Feb 19 2018 08:54:50

%S 1,2,4,12,40,143,528,1979,7466,28246,106992,405481,1537042,5826959,

%T 22091016,83752328,317527448,1203835147,4564081020,17303737555,

%U 65603438014,248721498050,942974761824,3575088704597,13554190277870

%N Number of n X 1 0..3 arrays with no occurrence of three equal elements in a row horizontally, vertically, diagonally or antidiagonally, and new values 0..3 introduced in row major order.

%C Column 1 of A204685.

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

%F Empirical: a(n) = 4*a(n-1) + a(n-2) - 6*a(n-3) - 3*a(n-4) for n>6.

%F Empirical g.f.: x*(1 + x)*(1 - 3*x - 2*x^2 + 2*x^3 + x^4) / ((1 - x - x^2)*(1 - 3*x - 3*x^2)). - _Colin Barker_, Feb 19 2018

%e Some solutions for n=5:

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

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

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

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

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

%K nonn

%O 1,2

%A _R. H. Hardin_, Jan 18 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 May 31 22:12 EDT 2024. Contains 373007 sequences. (Running on oeis4.)