login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A269492
Number of length-n 0..6 arrays with no repeated value differing from the previous repeated value by one.
1
7, 49, 343, 2389, 16579, 114695, 791381, 5448185, 37435583, 256804141, 1759152499, 12035747757, 82258781115, 561684075373, 3832259642203, 26128574285113, 178038236615119, 1212498463318805, 8253697161562331, 56161736795827953
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 30*a(n-1) - 353*a(n-2) + 1992*a(n-3) - 4976*a(n-4) + 1872*a(n-5) + 8202*a(n-6) + 1800*a(n-7) - 210*a(n-8) - 36*a(n-9).
Empirical g.f.: x*(7 - 161*x + 1344*x^2 - 4548*x^3 + 3212*x^4 + 8106*x^5 + 1656*x^6 - 208*x^7 - 34*x^8) / ((1 - 6*x)*(1 - 24*x + 209*x^2 - 738*x^3 + 548*x^4 + 1416*x^5 + 294*x^6 - 36*x^7 - 6*x^8)). - Colin Barker, Jan 23 2019
EXAMPLE
Some solutions for n=6:
..1. .0. .0. .5. .0. .0. .2. .0. .5. .3. .0. .6. .6. .5. .6. .4
..6. .0. .2. .3. .1. .0. .4. .0. .4. .0. .3. .0. .2. .0. .4. .2
..6. .3. .1. .4. .4. .4. .5. .3. .2. .1. .2. .0. .4. .6. .1. .0
..0. .3. .4. .6. .1. .3. .6. .5. .6. .6. .5. .0. .0. .2. .4. .2
..6. .1. .5. .4. .5. .2. .1. .5. .6. .3. .5. .1. .5. .0. .6. .4
..2. .6. .0. .2. .3. .3. .0. .1. .0. .6. .3. .3. .2. .0. .4. .1
CROSSREFS
Column 6 of A269494.
Sequence in context: A269581 A269433 A269688 * A269774 A269654 A250359
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 28 2016
STATUS
approved