A243602 Number of length n+2 0..5 arrays with no three elements in a row with pattern aba (with a!=b) and new values 0..5 introduced in 0..5 order.
4, 10, 29, 97, 365, 1511, 6726, 31544, 153328, 763187, 3857651, 19692114, 101153422, 521664456, 2697067469, 13966320059, 72395025823, 375501794607, 1948456098176, 10113010271486, 52497770870256, 272549948856853, 1415076190551061
Offset: 1
Keywords
Examples
Some solutions for n=5: ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0 ..1....1....1....1....1....0....1....1....0....1....0....1....1....1....1....1 ..1....2....1....1....2....0....2....1....1....1....1....1....2....1....2....2 ..1....2....2....2....0....1....3....0....1....2....2....1....0....0....3....2 ..1....3....0....3....0....2....4....2....2....0....2....1....1....2....1....2 ..2....3....3....4....0....2....4....1....3....3....3....0....1....2....1....0 ..2....1....2....2....2....2....1....3....1....1....0....0....0....2....1....3
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Column 5 of A243607.
Formula
Empirical: a(n) = 12*a(n-1) - 48*a(n-2) + 65*a(n-3) + 18*a(n-4) - 74*a(n-5) - 9*a(n-6) + 26*a(n-7) + 10*a(n-8) + a(n-9).
Empirical g.f.: x*(4 - 38*x + 101*x^2 - 31*x^3 - 129*x^4 + 18*x^5 + 63*x^6 + 21*x^7 + 2*x^8) / ((1 - x)*(1 - x - x^2)*(1 - 2*x - x^2)*(1 - 3*x - x^2)*(1 - 5*x - x^2)). - Colin Barker, Nov 02 2018