OFFSET
1,4
LINKS
Dean Hickerson, Counting Horizontally Convex Polyominoes, J. Integer Sequences, Vol. 2 (1999), #99.1.8.
Index entries for linear recurrences with constant coefficients, signature (5,-7,4)
FORMULA
MATHEMATICA
a[ n_ ] := a[ n ]=If[ n<6, {1, 0, 1, 4, 14}[ [ n ] ], 5a[ n-1 ]-7a[ n-2 ]+4a[ n-3 ] ]
LinearRecurrence[{5, -7, 4}, {1, 0, 1, 4, 14}, 40] (* Harvey P. Dale, Nov 16 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Dean Hickerson, Aug 10 1999
STATUS
approved