login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A277669
Number of n-length words over a 6-ary alphabet {a_1,a_2,...,a_6} avoiding consecutive letters a_i, a_{i+1}.
2
1, 6, 31, 160, 826, 4264, 22012, 113632, 586599, 3028182, 15632291, 80698096, 416585304, 2150525528, 11101591924, 57309407232, 295846593873, 1527239790702, 7884023093755, 40699450421136, 210101523661770, 1084600646648368, 5599000626972168, 28903549078371648
OFFSET
0,2
FORMULA
G.f.: 1/(1 + Sum_{j=1..6} (7-j)*(-x)^j).
MAPLE
a:= n-> (<<0|1|0|0|0|0>, <0|0|1|0|0|0>, <0|0|0|1|0|0>,
<0|0|0|0|1|0>, <0|0|0|0|0|1>, <-1|2|-3|4|-5|6>>^n)[6$2]:
seq(a(n), n=0..30);
CROSSREFS
Column k=6 of A277666.
Sequence in context: A038223 A334650 A022034 * A047665 A003128 A058146
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Oct 26 2016
STATUS
approved