|
|
A269822
|
|
Number of n X 1 0..4 arrays with some element plus some horizontally, diagonally, antidiagonally or vertically adjacent neighbor totalling four exactly once.
|
|
2
|
|
|
0, 5, 40, 240, 1280, 6400, 30720, 143360, 655360, 2949120, 13107200, 57671680, 251658240, 1090519040, 4697620480, 20132659200, 85899345920, 365072220160, 1546188226560, 6528350289920, 27487790694400, 115448720916480
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 8*a(n-1) - 16*a(n-2).
G.f.: 5*x^2 / (1 - 4*x)^2.
a(n) = 5*4^(n-2)*(n-1).
(End)
|
|
EXAMPLE
|
Some solutions for n=4:
..1. .2. .2. .4. .4. .3. .2. .4. .4. .0. .0. .0. .2. .3. .3. .2
..1. .3. .3. .2. .3. .4. .2. .4. .0. .1. .0. .3. .3. .0. .1. .4
..1. .1. .2. .4. .1. .1. .3. .3. .0. .4. .4. .4. .4. .1. .0. .0
..3. .0. .2. .0. .0. .3. .3. .1. .3. .0. .1. .0. .0. .3. .3. .3
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|