OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (23, -132).
FORMULA
G.f.: x/((1-11x)(1-12x)).
E.g.f.: e^(12*x)-e^(11*x). - Mohammad K. Azarian, Jan 14 2009
a(0)=0, a(n)=12*a(n-1)+11^(n-1). - _Vincenzo Librandi-, Feb 09 2011
a(0)=0, a(1)=1, a(n)=23*a(n-1)-132*a(n-2). - Vincenzo Librandi, Feb 09 2011
MATHEMATICA
f[n_]:= 12^n - 11^n; f[Range[0, 40]] (* Vladimir Joseph Stephan Orlovsky, Feb 14 2011 *)
CoefficientList[Series[x/((1 - 11 x) (1 - 12 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Aug 03 2014 *)
PROG
(Magma) [12^n-11^n: n in [0..40]]; // Vincenzo Librandi, Aug 03 2014
(PARI) a(n)=12^n-11^n \\ Charles R Greathouse IV, Aug 03 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved