|
|
A235879
|
|
Number of (n+1) X (3+1) 0..2 arrays with the minimum plus the upper median equal to the lower median plus the maximum in every 2 X 2 subblock.
|
|
1
|
|
|
129, 231, 453, 951, 2109, 4911, 11973, 30471, 80589, 220191, 617493, 1766391, 5127069, 15037071, 44423013, 131892711, 392925549, 1173271551, 3508804533, 10504393431, 31469140029, 94319339631, 282781858053, 847993252551
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 6*a(n-1) - 11*a(n-2) + 6*a(n-3).
G.f.: 3*x*(43 - 181*x + 162*x^2) / ((1 - x)*(1 - 2*x)*(1 - 3*x)).
a(n) = 3*(12 + 7*2^(1+n) + 3^n).
(End)
|
|
EXAMPLE
|
Some solutions for n=5:
..2..0..0..2....0..0..0..0....2..2..2..2....0..1..0..0....1..1..1..1
..2..0..0..2....0..0..0..0....1..1..1..1....0..1..0..0....1..1..1..1
..2..0..0..2....0..0..0..0....1..1..1..1....1..0..1..1....0..0..0..0
..2..0..0..2....2..2..2..2....0..0..0..0....0..1..0..0....0..0..0..0
..0..2..2..0....1..1..1..1....2..2..2..2....0..1..0..0....2..2..2..2
..2..0..0..2....0..0..0..0....1..1..1..1....0..1..0..0....0..0..0..0
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|