|
|
A211526
|
|
Number of -1..1 arrays x(i) of n+1 elements i=1..n+1 with set{t,u,v in 0,1}((x[i+t]+x[j+u]+x[k+v])*(-1)^(t+u+v)) having two, four or five distinct values for every i,j,k<=n.
|
|
1
|
|
|
8, 18, 32, 60, 104, 192, 344, 648, 1208, 2328, 4472, 8760, 17144, 33912, 67064, 133368, 265208, 528888, 1054712, 2106360, 4206584, 8407032, 16801784, 33591288, 67158008, 134291448, 268533752, 537018360, 1073938424, 2147778552, 4295360504
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 3*a(n-1) - 6*a(n-3) + 4*a(n-4).
G.f.: 2*x*(4 - 3*x - 11*x^2 + 6*x^3) / ((1 - x)*(1 - 2*x)*(1 - 2*x^2)).
a(n) = 9*2^(n/2) + 2^(n+1) - 8 for n even.
a(n) = 2*(2^n + 3*2^((n+1)/2) - 4) for n odd.
(End)
|
|
EXAMPLE
|
Some solutions for n=5:
.-1...-1...-1....0....0...-1....1....0...-1....1....1....1...-1...-1....1....0
..0....1...-1....1...-1....1....1....1....1...-1....1....1....1...-1...-1....1
.-1....0...-1....0....0....1...-1....0....0...-1...-1....1...-1....1....1...-1
..0....1...-1...-1....1...-1...-1....1....1....1...-1....1....0...-1....1....1
..1....0....1....0....0....1....1....0...-1...-1...-1....1...-1....1....1....0
..0....1....1....1...-1....1...-1....1....1...-1....1....1....1...-1....1....1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|