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

Number of n X 5 0..1 arrays with every element equal to 0, 1, 2, 3, 4 or 5 horizontally, vertically or antidiagonally adjacent elements, with upper left element zero.
1

%I #6 Jan 20 2024 16:25:43

%S 16,512,15680,483600,14905344,459428416,14160945920,436482419456,

%T 13453684678656,414682524038144,12781747146699776,393971413432651776,

%U 12143369198333804544,374294708852698746880,11536874716313877610496

%N Number of n X 5 0..1 arrays with every element equal to 0, 1, 2, 3, 4 or 5 horizontally, vertically or antidiagonally adjacent elements, with upper left element zero.

%C Column 5 of A301407.

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

%F Empirical: a(n) = 24*a(n-1) +204*a(n-2) +228*a(n-3) -1008*a(n-4) -1008*a(n-5) +2304*a(n-6) -192*a(n-7) -512*a(n-8) for n>9.

%e Some solutions for n=5

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

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

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

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

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

%Y Cf. A301407.

%K nonn

%O 1,1

%A _R. H. Hardin_, Mar 20 2018