(MAGMAMagma) I:=[1, 12]; [n le 2 select I[n] else 11*Self(n-1)-10*Self(n-2)-18: n in [1..20]]; // Vincenzo Librandi, Jul 06 2012
Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
(MAGMAMagma) I:=[1, 12]; [n le 2 select I[n] else 11*Self(n-1)-10*Self(n-2)-18: n in [1..20]]; // Vincenzo Librandi, Jul 06 2012
editing
approved
LinearRecurrence[{12, -21, 10}, {1, 12, 104}, 20] (* Harvey P. Dale, Dec 01 2015 *)
approved
editing
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (12,-21,10).
<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (12,-21,10).
editing
approved
a(n)=10^n+2*n.
<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (12,-21,10).
CoefficientList[Series[(1-19*x^2)/((1-x)^2*(1-10*x)), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 06 2012 *)
approved
editing
proposed
approved
editing
proposed
Vincenzo Librandi, <a href="/A173835/b173835.txt">Table of n, a(n) for n = 0..100</a>
G.f.: (1-19*x^2)/((1-x)^2*(1-10*x)). - Vincenzo Librandi, Jul 06 2012
a(n) = 11*a(n-1) -10*a(n-2) -18. - Vincenzo Librandi, Jul 06 2012
CoefficientList[Series[(1-19*x^2)/((1-x)^2*(1-10*x)), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 06 2012 *)
(MAGMA) I:=[1, 12]; [n le 2 select I[n] else 11*Self(n-1)-10*Self(n-2)-18: n in [1..20]]; // Vincenzo Librandi, Jul 06 2012
nonn,easy
approved
editing