OFFSET
0,3
COMMENTS
In a meander word letters of neighboring positions have to be neighbors in the alphabet, where in a cyclic alphabet the first and the last letters are considered neighbors too. The words are not considered cyclic here.
A word is initially rising if it is empty or if it begins with the first letter of the alphabet that can only be followed by the second letter in this word position.
a(n) is also the number of (7*n-1)-step walks on 7-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 1 or are in the set {1,7}.
EXAMPLE
a(0) = 1: the empty word.
a(1) = 1 = |{abcdefg}|.
a(2) = 19 = |{abagfedcbcdefg, abagfgfedcbcde, abagfgfededcbc, abcbagfedcdefg, abcbagfgfedcde, abcbagfgfededc, abcbcdedefgagf, abcbcdedefgfga, abcbcdefgagfed, abcdcbagfedefg, abcdcbagfgfede, abcdedcbagfefg, abcdedcbagfgfe, abcdedefgfgabc, abcdefedcbagfg, abcdefgabcdefg, abcdefgagfedcb, abcdefgfedcbag, abcdefgfgabcde}|.
CROSSREFS
KEYWORD
nonn,walk
AUTHOR
Alois P. Heinz, Mar 06 2012
STATUS
approved