OFFSET
0,1
LINKS
T. D. Noe, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (12,-11).
FORMULA
From Mohammad K. Azarian, Jan 02 2009: (Start)
G.f.: 1/(1-x) + 1/(1-11*x).
E.g.f.: exp(x) + exp(11*x). (End)
From G. C. Greubel, Mar 11 2023: (Start)
a(n) = 11*a(n-1) - 10.
a(n) = A001020(n) + 1. (End)
MATHEMATICA
LinearRecurrence[{12, -11}, {2, 12}, 18] (* Ray Chandler, Aug 26 2015 *)
11^Range[0, 30]+1 (* G. C. Greubel, Mar 11 2023 *)
PROG
(Sage) [sigma(11, n)for n in range(0, 18)] # - Zerinvary Lajos, Jun 04 2009
(PARI) a(n)=11^n+1 \\ Charles R Greathouse IV, Sep 24 2015
(Magma) [11^n +1: n in [0..30]]; // G. C. Greubel, Mar 11 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved