A245992 Number of length n+2 0..5 arrays with no pair in any consecutive three terms totalling exactly 5.
126, 534, 2262, 9582, 40590, 171942, 728358, 3085374, 13069854, 55364790, 234529014, 993480846, 4208452398, 17827290438, 75517614150, 319897747038, 1355108602302, 5740332156246, 24316437227286, 103006081065390
Offset: 1
Keywords
Examples
Some solutions for n=6 ..3....1....0....1....3....0....0....3....1....1....4....3....1....0....1....4 ..3....2....0....3....5....1....0....3....2....0....3....1....2....2....1....4 ..0....1....0....1....5....0....2....4....2....3....5....3....1....1....3....2 ..4....2....1....1....3....2....1....4....4....3....5....3....2....0....5....0 ..4....5....1....5....1....0....2....2....0....0....2....0....0....1....5....1 ..5....2....5....2....5....2....2....2....3....0....4....0....4....0....4....3 ..5....1....2....5....2....1....4....0....3....0....2....2....2....3....4....1 ..1....2....2....5....2....2....4....2....0....1....0....4....4....0....2....0
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Formula
Empirical: a(n) = 4*a(n-1) +a(n-2).
Empirical: G.f.: -6*x*(21+5*x) / ( -1+4*x+x^2 ). - R. J. Mathar, Aug 10 2014
Comments