cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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}.

Original entry on oeis.org

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

Views

Author

Alois P. Heinz, Oct 26 2016

Keywords

Crossrefs

Column k=6 of A277666.

Programs

  • 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);

Formula

G.f.: 1/(1 + Sum_{j=1..6} (7-j)*(-x)^j).