(MAGMAMagma) [( 10*2^n+3-(-1)^n )/6: n in [0..40]]; // Vincenzo Librandi, Aug 05 2011
(MAGMAMagma) [( 10*2^n+3-(-1)^n )/6: n in [0..40]]; // Vincenzo Librandi, Aug 05 2011
reviewed
approved
proposed
reviewed
editing
proposed
a(n) = 2*a(n-1) + a(n-2) - 2*a(n-3), n >= 3.
G.f. : ( 2-3*x^2 ) / ( (x-1)*(2*x-1)*(1+x) ). - R. J. Mathar, Jul 07 2011
a(n) = ceilceiling( (5/3)*(2^n) ). - Wesley Ivan Hurt, Jun 28 2013
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
a(n) = ( 10*2^n + 3 - (-1)^n )/6.
<a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (2,1,-2).
approved
editing
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (2,1,-2).