OFFSET
0,2
COMMENTS
The first and the last letters are considered neighbors in a cyclic alphabet. The words are not considered cyclic here.
a(n) is also the number of (5*n-1)-step walks on 5-dimensional cubic lattice from (1,0,...,0) to (n,n,...,n) with positive unit steps in all dimensions such that the indices of dimensions used in consecutive steps differ by less than 2 or are in the set {1,5}.
CROSSREFS
KEYWORD
nonn,walk
AUTHOR
Alois P. Heinz, Mar 05 2012
STATUS
approved