OFFSET
1,1
COMMENTS
Number of words of length n using an 8-symbol alphabet where neighboring letters are neighbors in the alphabet. - Andrew Howroyd, Apr 17 2017
LINKS
Joseph Myers, BMO 2008--2009 Round 1 Problem 1---Generalisation
Index entries for linear recurrences with constant coefficients, signature (1,3,-2,-1).
FORMULA
G.f.: 2*x*(4+3*x-6*x^2-2*x^3)/((1-x)*(1-3*x^2-x^3)). - Colin Barker, May 10 2012
MATHEMATICA
LinearRecurrence[{1, 3, -2, -1}, {8, 14, 26, 48}, 32] (* Jean-François Alcover, Oct 08 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Joseph Myers, Dec 24 2008
STATUS
approved