(MAGMAMagma) [2*5^n-3^n: n in [0..25]]; // Vincenzo Librandi, Aug 09 2013
(MAGMAMagma) [2*5^n-3^n: n in [0..25]]; // Vincenzo Librandi, Aug 09 2013
proposed
approved
editing
proposed
a(n) = 2*5^n - 3^n.
a(n) = 8*a(n-1) - 15*a(n-2), a(0)=1, a(1)=7.
E.g.f. 2*exp(5*x) - exp(3*x).
a(n) = Sum_{k, =0<=k<=..n} A125185(n,k)*3^k. - Philippe Deléham, Feb 26 2012
approved
editing
<a href="/index/Rec#order_02">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (8,-15).
editing
approved
<a href="/index/Rec#order_02">Index to sequences with linear recurrences with constant coefficients</a>, signature (8,-15).
Cf. A178590, A006516. [Gary W. Adamson, May 31 2010]
approved
editing
editing
approved
LinearRecurrence[{8, -15}, {1, 7}, 30] (* Harvey P. Dale, Oct 14 2013 *)
approved
editing
editing
approved