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

A243513
Number of length n+2 0..4 arrays with no three elements in a row with pattern aba or abb (with a!=b) and new values 0..4 introduced in 0..4 order.
1
3, 5, 10, 24, 65, 187, 552, 1646, 4927, 14769, 44294, 132868, 398589, 1195751, 3587236, 10761690, 32285051, 96855133, 290565378, 871696112, 2615088313, 7845264915, 23535794720, 70607384134, 211822152375, 635466457097
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 5*a(n-1) - 7*a(n-2) + 3*a(n-3).
Conjectures from Colin Barker, Nov 02 2018: (Start)
G.f.: x*(3 - 10*x + 6*x^2) / ((1 - x)^2*(1 - 3*x)).
a(n) = (7 + 3^n + 2*n) / 4.
(End)
EXAMPLE
All solutions for n=3:
..0....0....0....0....0....0....0....0....0....0
..1....0....1....0....0....1....1....1....0....0
..2....0....2....1....0....2....2....2....0....1
..3....1....0....2....0....0....3....3....0....2
..0....2....1....3....1....3....1....4....0....0
CROSSREFS
Column 4 of A243519.
Sequence in context: A209001 A240619 A171867 * A002039 A243514 A243515
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jun 05 2014
STATUS
approved