A269612 Number of length-n 0..n arrays with no repeated value differing from the previous repeated value by other than plus two, zero or minus 1.
2, 9, 64, 612, 7440, 110099, 1923796, 38800210, 887591878, 22714070251, 643030722208, 19954247152834, 673552866591198, 24570545121277999, 963253518328620796, 40387590591059009524, 1803427358679591518028
Offset: 1
Keywords
Examples
Some solutions for n=6 ..5. .1. .4. .0. .0. .5. .0. .1. .2. .0. .0. .1. .2. .6. .1. .6 ..0. .3. .6. .0. .3. .1. .6. .0. .1. .2. .2. .2. .0. .2. .3. .4 ..6. .5. .1. .4. .6. .1. .6. .6. .4. .5. .5. .2. .1. .0. .4. .2 ..1. .2. .0. .1. .1. .1. .2. .0. .4. .1. .6. .4. .6. .1. .3. .3 ..6. .2. .1. .5. .3. .6. .3. .4. .4. .0. .2. .0. .0. .0. .2. .4 ..1. .5. .1. .6. .0. .1. .2. .2. .6. .6. .1. .5. .6. .4. .2. .4
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A269619.
Comments