OFFSET
1,1
LINKS
FORMULA
a(n) = 8a(n-1) + a(n-2) - 8a(n-3).
G.f.: x*(2+x) / ( (x-1)*(8*x-1)*(1+x) ). - R. J. Mathar, Apr 26 2015
MATHEMATICA
With[{c=PadRight[{}, 20, {2, 1}]}, Table[FromDigits[Take[c, n], 8], {n, 20}]] (* or *) LinearRecurrence[{8, 1, -8}, {2, 17, 138}, 20] (* Harvey P. Dale, Jan 24 2012 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved