|
|
A268948
|
|
Number of length-7 0..n arrays with no repeated value unequal to the previous repeated value plus one mod n+1.
|
|
1
|
|
|
30, 969, 9684, 54045, 213042, 667065, 1773384, 4171869, 8925990, 17704137, 33006300, 58441149, 99058554, 161742585, 255670032, 392839485, 588676014, 862716489, 1239380580, 1748832477, 2427938370, 3321324729, 4482542424
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = n^7 + 7*n^6 + 6*n^5 + 10*n^4 + 4*n^3 + n^2 + 4*n - 3.
G.f.: 3*x*(10 + 243*x + 924*x^2 + 675*x^3 - 110*x^4 - 55*x^5 - 8*x^6 + x^7) / (1 - x)^8.
a(n) = 8*a(n-1) - 28*a(n-2) + 56*a(n-3) - 70*a(n-4) + 56*a(n-5) - 28*a(n-6) + 8*a(n-7) - a(n-8) for n>8.
(End)
|
|
EXAMPLE
|
Some solutions for n=4:
..4. .2. .4. .3. .1. .1. .2. .0. .1. .4. .4. .2. .4. .2. .3. .3
..1. .0. .0. .1. .3. .0. .0. .1. .3. .4. .0. .3. .3. .2. .0. .4
..3. .4. .2. .3. .2. .3. .4. .0. .2. .1. .2. .3. .3. .0. .3. .0
..0. .4. .0. .0. .1. .2. .2. .4. .4. .4. .4. .2. .4. .3. .1. .0
..4. .0. .3. .2. .1. .3. .3. .0. .1. .0. .2. .3. .2. .0. .0. .1
..3. .1. .1. .3. .4. .1. .1. .0. .2. .2. .4. .4. .0. .3. .2. .4
..1. .4. .2. .1. .2. .1. .2. .3. .4. .4. .2. .1. .2. .4. .3. .1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|