<a href="/index/Rec#order_02">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (2,1)
<a href="/index/Rec#order_02">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (2,1)
<a href="/index/Rec#order_02">Index entries for to sequences related to with linear recurrences with constant coefficients</a>, signature (2,1)
editing
approved
_Barry E. Williams_
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
Pisano period lengths: 1, 2, 8, 4, 12, 8, 6, 8, 24, 12, 24, 8, 28, 6, 24, 16, 16, 24, 40, 12, ... (is this A175181?) . - R. J. Mathar, Aug 10 2012
<a href="/index/ReaRec#recLCCorder_02">Index entries for sequences related to linear recurrences with constant coefficients</a>, signature (2,1)
a(n) = 2*a(n-1) + a(n-2); a(0)=1, a(1)=6.
G.f.: (1+4*x)/(1 - 2*x - x^2). [From _- _Philippe Deléham_, Nov 03 2008]
a(n) = 4*A000129(n) + A000129(n+1). - R. J. Mathar, Aug 10 2012
with(combinat): a:=n->4*fibonacci(n-1, 2)+fibonacci(n, 2): seq(a(n), n=1..26); - _# _Zerinvary Lajos_, Apr 04 2008
a[n_]:=(MatrixPower[{{1, 2}, {1, 1}}, n].{{5}, {1}})[[2, 1]]; Table[a[n], {n, 0, 40}] [From _(* _Vladimir Joseph Stephan Orlovsky_, Feb 20 2010] *)
approved
editing
with(combinat): a:=n->4*fibonacci(n-1, 2)+fibonacci(n, 2): seq(a(n), n=1..26); - _Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), _, Apr 04 2008
G.f.: (1+4*x)/(1-2*x-x^2). [From _Philippe DELEHAM_, Deléham_, Nov 03 2008]