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”).

A265988
Number of n X 4 integer arrays with each element equal to the number of horizontal and antidiagonal neighbors not equal to itself.
1
1, 2, 2, 2, 7, 7, 21, 35, 78, 158, 323, 682, 1395, 2920, 6035, 12551, 26048, 54067, 112291, 233073, 483986, 1004757, 2086142, 4331198, 8992360, 18669984, 38762260, 80478161, 167087798, 346906568, 720244459, 1495365541, 3104666070, 6445881590
OFFSET
1,2
LINKS
FORMULA
Empirical: a(n) = a(n-1) + 2*a(n-2) + a(n-3) - a(n-5) - 3*a(n-6) + a(n-7).
Empirical g.f.: x*(1 + x - 2*x^2 - 5*x^3 - x^4 - 5*x^5 + 3*x^6) / ((1 - x)*(1 - 2*x^2 - 3*x^3 - 3*x^4 - 2*x^5 + x^6)). - Colin Barker, Jan 09 2019
EXAMPLE
Some solutions for n=7:
..1..3..1..1....1..3..1..1....1..3..1..1....1..2..2..1....1..3..1..1
..1..1..3..1....1..1..3..1....1..1..4..2....1..1..1..1....1..1..3..1
..1..3..1..1....1..3..1..1....1..3..3..1....1..3..3..1....1..3..1..1
..1..1..4..2....1..1..3..2....1..1..1..1....1..1..1..1....1..1..4..2
..1..3..3..1....1..3..4..1....1..3..3..1....1..3..3..1....1..3..3..1
..1..1..1..1....1..1..1..1....1..1..1..1....1..1..1..1....2..4..1..1
..1..2..2..1....1..2..2..1....1..2..2..1....1..2..2..1....1..1..3..1
CROSSREFS
Column 4 of A265991.
Sequence in context: A169592 A245600 A266689 * A340976 A023573 A138757
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 19 2015
STATUS
approved