OFFSET
0,1
LINKS
FORMULA
G.f.: (2*(x-1))/(2*x(5*x+1)-1). - Harvey P. Dale, Oct 15 2013
MAPLE
a[0]:=2:a[1]:=2:for i from 2 to 40 do a[i]:=2*a[i-1]+10*a[i-2] od: seq(a[n], n=0..40);
MATHEMATICA
LinearRecurrence[{2, 10}, {2, 2}, 30] (* or *) CoefficientList[Series[(2*(x-1))/(2*x(5*x+1)-1), {x, 0, 30}], x] (* Harvey P. Dale, Oct 15 2013 *)
PROG
(Sage) [lucas_number2(n, 2, -10) for n in range(0, 21)] # Zerinvary Lajos, Apr 30 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Miklos Kristof, Mar 27 2007
STATUS
approved