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

A222939
Number of n X 1 0..4 arrays with no element equal to another at a city block distance of exactly two, and new values 0..4 introduced in row major order.
1
1, 2, 3, 7, 20, 66, 238, 902, 3510, 13846, 54998, 219222, 875350, 3498326, 13987158, 55936342, 223720790, 894834006, 3579237718, 14316754262, 57266623830, 229065708886, 916261262678, 3665041904982, 14660161328470, 58640632730966
OFFSET
1,2
COMMENTS
Column 1 of A222944.
LINKS
FORMULA
Empirical: a(n) = 7*a(n-1) - 14*a(n-2) + 8*a(n-3) for n>5.
Conjectures from Colin Barker, Aug 16 2018: (Start)
G.f.: x*(1 + x)*(1 - 6*x + 9*x^2 - 3*x^3) / ((1 - x)*(1 - 2*x)*(1 - 4*x)).
a(n) = (256 + 9*2^(3+n) + 5*4^n) / 384 for n>2.
(End)
EXAMPLE
All solutions for n=3:
..0....0....0
..0....1....1
..1....2....1
CROSSREFS
Cf. A222944.
Sequence in context: A052402 A372076 A300041 * A222867 A222776 A222890
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 09 2013
STATUS
approved