OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (6,0,1,-6).
FORMULA
G.f.: x*(2+2*x+x^2) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 2, 1}], 6], {n, 20}] (* or *) LinearRecurrence[{6, 0, 1, -6}, {2, 14, 85, 512}, 20] (* Harvey P. Dale, Mar 14 2023 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved