login
Number of length-n 0..n arrays with no repeated value differing from the previous repeated value by other than one.
1

%I #5 Feb 29 2016 06:58:30

%S 2,9,60,568,6890,102202,1792788,36313762,834223586,21432797300,

%T 608957461160,18959064989614,641864430972850,23477543114153020,

%U 922643768971802072,38770277525975117782,1734684393525837427074

%N Number of length-n 0..n arrays with no repeated value differing from the previous repeated value by other than one.

%C Diagonal of A269537.

%H R. H. Hardin, <a href="/A269530/b269530.txt">Table of n, a(n) for n = 1..210</a>

%e Some solutions for n=5

%e ..1. .2. .1. .1. .5. .4. .3. .2. .4. .1. .5. .5. .3. .3. .3. .4

%e ..0. .2. .5. .4. .2. .0. .2. .4. .0. .4. .2. .0. .1. .2. .2. .3

%e ..0. .3. .4. .2. .0. .2. .0. .3. .2. .0. .3. .1. .0. .5. .3. .2

%e ..3. .5. .4. .1. .5. .4. .1. .1. .2. .3. .2. .5. .5. .1. .5. .1

%e ..1. .1. .2. .0. .1. .2. .2. .4. .1. .3. .0. .2. .5. .5. .3. .4

%Y Cf. A269537.

%K nonn

%O 1,1

%A _R. H. Hardin_, Feb 29 2016