A243603 Number of length n+2 0..6 arrays with no three elements in a row with pattern aba (with a!=b) and new values 0..6 introduced in 0..6 order.
4, 10, 29, 97, 366, 1533, 7020, 34631, 181391, 995139, 5651157, 32902123, 194971159, 1169639664, 7076433285, 43062727014, 263096669677, 1611790269519, 9892521309824, 60793268309048, 373921041602730, 2301237378396793
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....0....1....1....1....1....1....1....1....1....1....0....1....0 ..2....2....2....1....2....2....2....2....1....2....1....2....1....1....2....1 ..2....2....0....2....3....3....2....3....2....2....2....3....1....1....3....1 ..2....0....0....3....0....0....1....1....3....3....0....4....2....2....3....2 ..3....0....3....3....2....4....3....4....3....4....0....4....0....3....4....3 ..3....0....4....4....2....5....3....4....2....0....2....1....1....4....5....1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Formula
Empirical: a(n) = 17*a(n-1) -106*a(n-2) +286*a(n-3) -245*a(n-4) -231*a(n-5) +329*a(n-6) +147*a(n-7) -106*a(n-8) -74*a(n-9) -15*a(n-10) -a(n-11)
Comments