OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,0,1,-8).
FORMULA
G.f.: x*(2+x+2*x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 26 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 1, 2}], 8], {n, 20}] (* or *) LinearRecurrence[ {8, 0, 1, -8}, {2, 17, 138, 1106}, 20] (* Harvey P. Dale, Jun 22 2017 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved