A049219 Number of horizontally convex n-ominoes in which the top row has exactly 1 square.
1, 1, 3, 10, 33, 107, 344, 1103, 3535, 11330, 36317, 116415, 373176, 1196243, 3834643, 12292218, 39403561, 126310851, 404898200, 1297929287, 4160602439, 13337099986, 42753000005, 137047709879, 439315949304, 1408257777387
Offset: 1
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).
Programs
-
Mathematica
a[ n_ ] := a[ n ]=If[ n<5, {1, 1, 3, 10}[ [ n ] ], 5a[ n-1 ]-7a[ n-2 ]+4a[ n-3 ] ] LinearRecurrence[{5,-7,4},{1,1,3,10,33,107},40] (* Harvey P. Dale, Nov 19 2019 *)
Comments