OFFSET
0,2
LINKS
FORMULA
a(n) = 1 if n=0, 10*4^(n-1)+2 otherwise.
G.f.: 1-6*x*(-2+3*x) / ( (4*x-1)*(x-1) ). - R. J. Mathar, Feb 02 2011
For a(n)>1: a(1)=12, a(2)=42, a(n) = 5*a(n-1)-4*a(n-2). [Harvey P. Dale, May 05 2011]
MATHEMATICA
Join[{1}, LinearRecurrence[{5, -4}, {12, 42}, 30]] (* or *) CoefficientList[ Series[1-6x (-2+3x)/((4x-1)(x-1)), {x, 0, 30}], x] (* Harvey P. Dale, May 05 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alden Chew (aldenc98(AT)yahoo.com), Oct 27 2006
STATUS
approved