OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From G. C. Greubel, Oct 12 2016: (Start)
G.f.: (1 + 111109*x)/(1 - x)^2.
E.g.f.: (1 + 111110*x)*exp(x).
a(n) = 2*a(n-1) - a(n-2). (End)
MATHEMATICA
1+111110*Range[0, 30] (* Harvey P. Dale, Sep 21 2012 *)
LinearRecurrence[{2, -1}, {1, 111111}, 25] (* G. C. Greubel, Oct 12 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Dohong Kim 20710847 (upossss(AT)naver.com), Dec 11 2007
EXTENSIONS
a(12) and a(13) corrected by T. D. Noe, Mar 14 2008
More terms from Harvey P. Dale, Sep 21 2012
STATUS
approved