login
A269497
Number of length-6 0..n arrays with no repeated value differing from the previous repeated value by one.
1
40, 591, 3680, 14695, 44904, 114695, 257536, 524655, 990440, 1758559, 2968800, 4804631, 7501480, 11355735, 16734464, 24085855, 33950376, 46972655, 63914080, 85666119, 113264360, 147903271, 190951680, 243968975, 308722024, 387202815
OFFSET
1,1
COMMENTS
Row 6 of A269494.
LINKS
FORMULA
Empirical: a(n) = n^6 + 6*n^5 + 15*n^4 + 8*n^3 + 5*n^2 + 6*n - 1.
Empirical: G.f.: x*(-40-311*x-383*x^2+54*x^3-34*x^4-7*x^5+x^6) / (x-1)^7. - R. J. Mathar, Mar 03 2016
EXAMPLE
Some solutions for n=6
..5. .0. .4. .0. .5. .3. .1. .5. .1. .5. .1. .2. .3. .0. .5. .3
..0. .5. .0. .4. .4. .4. .0. .4. .3. .3. .6. .1. .1. .4. .1. .6
..6. .2. .4. .5. .5. .3. .4. .1. .2. .4. .0. .3. .4. .6. .6. .0
..6. .4. .2. .2. .1. .1. .5. .1. .0. .2. .5. .4. .2. .2. .6. .1
..2. .1. .5. .2. .4. .2. .1. .0. .6. .3. .3. .5. .2. .2. .2. .0
..2. .6. .5. .1. .1. .3. .6. .4. .0. .1. .4. .1. .1. .4. .1. .1
CROSSREFS
Cf. A269494.
Sequence in context: A185744 A374241 A372977 * A097823 A263953 A002847
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 28 2016
STATUS
approved