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!)
A252857 Number of (n+2) X (4+2) 0..2 arrays with every consecutive three elements in every row, column, diagonal and antidiagonal having exactly two distinct values, and new values 0 upwards introduced in row major order. 1

%I #8 Dec 07 2018 11:50:39

%S 1719,1296,1962,3582,7002,13590,26766,52650,104796,207414,410922,

%T 815634,1620126,3212352,6373728,12654630,25115112,49827690,98894880,

%U 196294230,389531628,773007606,1534206006,3044825712,6042454650,11991793788

%N Number of (n+2) X (4+2) 0..2 arrays with every consecutive three elements in every row, column, diagonal and antidiagonal having exactly two distinct values, and new values 0 upwards introduced in row major order.

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

%F Empirical: a(n) = a(n-2) + 4*a(n-3) + 6*a(n-4) - a(n-5) - 5*a(n-6) - 5*a(n-7) + 2*a(n-9) - a(n-10) for n>12.

%F Empirical g.f.: 9*x*(191 + 144*x + 27*x^2 - 510*x^3 - 1162*x^4 - 433*x^5 + 395*x^6 + 733*x^7 + 170*x^8 - 284*x^9 + 63*x^10 + 26*x^11) / ((1 - x)*(1 + x)*(1 + x + x^2)*(1 - x - 3*x^3 - 3*x^4 + 3*x^5 - x^6)). - _Colin Barker_, Dec 07 2018

%e Some solutions for n=4:

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

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

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

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

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

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

%Y Column 4 of A252861.

%K nonn

%O 1,1

%A _R. H. Hardin_, Dec 23 2014

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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)