login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A277670 Number of n-length words over a 7-ary alphabet {a_1,a_2,...,a_7} avoiding consecutive letters a_i, a_{i+1}. 2
1, 7, 43, 264, 1621, 9953, 61112, 375231, 2303939, 14146313, 86859145, 533319959, 3274614074, 20106311704, 123453866991, 758013577995, 4654245334143, 28577324020619, 175466351588409, 1077373112945523, 6615130559166437, 40617267861064920, 249392273325801363 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (7,-6,5,-4,3,-2,1)

FORMULA

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

MAPLE

a:= proc(n) option remember; `if`(n<0, 0, `if`(n=0, 1,

      -add((-1)^j*(8-j)*a(n-j), j=1..7)))

    end:

seq(a(n), n=0..25);

CROSSREFS

Column k=7 of A277666.

Sequence in context: A329018 A003464 A022036 * A015451 A194779 A126502

Adjacent sequences:  A277667 A277668 A277669 * A277671 A277672 A277673

KEYWORD

nonn,easy

AUTHOR

Alois P. Heinz, Oct 26 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 18 11:57 EST 2022. Contains 350455 sequences. (Running on oeis4.)