|
|
A240954
|
|
Number of initially rising meander words, where each letter of the cyclic n-ary alphabet occurs three times.
|
|
1
|
|
|
1, 0, 1, 29, 100, 182, 484, 902, 2116, 4034, 8836, 17138, 36100, 70850, 145924, 288578, 586756
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
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 (3*n-1)-step walks on n-dimensional cubic lattice from (1,0,...,0) to (3,3,...,3) 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,n}.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(0) = 1: the empty word.
a(1) = 0 = |{ }|.
a(2) = 1 = |{ababab}|.
a(3) = 29 = |{ababcacbc, ababcbcac, abacabcbc, abacacbcb, abacbacbc, abacbcabc, abacbcacb, abacbcbac, abacbcbca, abcabacbc, abcabcabc, abcabcacb, abcabcbac, abcabcbca, abcacabcb, abcacbabc, abcacbacb, abcacbcab, abcacbcba, abcbabcac, abcbacabc, abcbacacb, abcbacbac, abcbacbca, abcbcabac, abcbcabca, abcbcacab, abcbcacba, abcbcbaca}|.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,walk,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|