|
|
A233107
|
|
Number of n X 2 0..5 arrays with no element x(i,j) adjacent to value 5-x(i,j) horizontally or vertically, top left element zero, and 1 appearing before 2 3 and 4, and 2 appearing before 3 in row major order.
|
|
2
|
|
|
2, 19, 313, 6046, 123352, 2565169, 53692063, 1126297996, 23643610702, 496455294319, 10425137467813, 218924920833946, 4597402575582052, 96545308753707469, 2027450466493247563, 42576452675015933896
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 29*a(n-1) - 175*a(n-2) + 147*a(n-3).
G.f.: x*(2 - 7*x)*(1 - 16*x) / ((1 - x)*(1 - 7*x)*(1 - 21*x)).
a(n) = (105 + 18*7^n + 5*21^n) / 168.
(End)
|
|
EXAMPLE
|
Some solutions for n=5:
..0..0....0..1....0..1....0..1....0..1....0..1....0..1....0..1....0..1....0..1
..1..1....0..2....1..0....1..0....2..5....1..2....2..2....0..2....2..1....0..0
..2..5....4..5....5..1....0..4....0..2....5..5....1..0....1..2....1..3....0..1
..4..2....4..4....2..1....2..2....2..4....5..4....5..3....1..5....5..5....4..2
..5..4....5..5....1..2....1..5....4..5....2..5....2..5....1..1....4..5....0..1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|