editing
approved
editing
approved
<a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 2).
approved
editing
(MAGMAMagma) [ n le 2 select 7*n-6 else 2*Self(n-2): n in [1..41] ];
reviewed
approved
proposed
reviewed
editing
proposed
G. C. Greubel, <a href="/A164587/b164587.txt">Table of n, a(n) for n = 1..1000</a>
a(n) = (5 + 3*(-1)^n)*2^(1/4*(2*n -5 +(-1)^n)/4).
E.g.f.: 4*cosh(sqrt(2)*x) + (1/sqrt(2))*sinh(sqrt(2)*x) - 4. - G. C. Greubel, Aug 12 2017
CoefficientList[Series[(1 - x)/(1 - 10*x + 17*x^2), {x, 0, 50}], x] (* G. C. Greubel, Aug 12 2017 *)
(PARI) x='x+O('x^50); Vec(x*(1+8*x)/(1-2*x^2)) \\ G. C. Greubel, Aug 12 2017
approved
editing
_Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), _, Aug 17 2009
a(n) = 2*a(n - 2) for n > 2; a(1) = 1, a(2) = 8.
1, 8, 2, 16, 4, 32, 8, 64, 16, 128, 32, 256, 64, 512, 128, 1024, 256, 2048, 512, 4096, 1024, 8192, 2048, 16384, 4096, 32768, 8192, 65536, 16384, 131072, 32768, 262144, 65536, 524288, 131072, 1048576, 262144, 2097152, 524288, 4194304, 1048576
1,2
a(n) = (5+3*(-1)^n)*2^(1/4*(2*n-5+(-1)^n)).
G.f.: x*(1+8*x)/(1-2*x^2).
(MAGMA) [ n le 2 select 7*n-6 else 2*Self(n-2): n in [1..41] ];
nonn
Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Aug 17 2009
approved