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