OFFSET
1,2
COMMENTS
Equivalent to a sequence of row-convex polyhexes (A059716).
FORMULA
G.f.: -((x(x-1)^3)/(1-7x+13x^2-10x^3+2x^4)).
a(n) = 7a(n-1)-13a(n-2)+10a(n-3)-2a(n-4) for n > 4.
EXAMPLE
a(3) = 18 = A006770(3)-2 omits the two 3-plets with non-convex rows (V and inverted V).
MATHEMATICA
a[n_]:={1, 4, 18, 83}[[n]]/; n<5; a[n_]:=a[n]=7a[n-1]-13a[n-2]+10a[n-3]-2a[n-4]; Array[a, 23]
CROSSREFS
KEYWORD
nonn
AUTHOR
David Bevan, Mar 03 2011
STATUS
approved