OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..500
Index entries for linear recurrences with constant coefficients, signature (0,8).
FORMULA
a(n) = (5+(-1)^n)*2^(1/4*(6*n-11+3*(-1)^n)).
G.f.: x*(1+12*x)/(1-8*x^2).
MATHEMATICA
Riffle[#, 12*#] & [8^Range[0, 14]] (* or *)
LinearRecurrence[{0, 8}, {1, 12}, 30] (* Paolo Xausa, Apr 22 2024 *)
PROG
(Magma) [ n le 2 select 11*n-10 else 8*Self(n-2): n in [1..26] ];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Aug 20 2009
STATUS
approved