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

A049221
Number of horizontally convex n-ominoes in which the top row has exactly 1 square, which is not above the rightmost square in the second row.
2
1, 0, 1, 4, 14, 46, 148, 474, 1518, 4864, 15590, 49974, 160196, 513522, 1646134, 5276800, 16915150, 54222686, 173814580, 557174698, 1786062174, 5725346304, 18352995094, 58831800038, 188589419748, 604536478850, 1937883656166
OFFSET
1,4
LINKS
FORMULA
G.f.: x (1-x)^2 (1-3x+x^2)/(1-5x+7x^2-4x^3).
a(n) = 5a(n-1) - 7a(n-2) + 4a(n-3) for n >= 6.
a(n) = A049219(n-1) + A049222(n) for n >= 3.
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
Sequence in context: A026290 A027649 A330796 * A081670 A297016 A258255
KEYWORD
nonn,easy
AUTHOR
Dean Hickerson, Aug 10 1999
STATUS
approved