OFFSET
1,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..300
Index entries for linear recurrences with constant coefficients, signature (0, 8).
FORMULA
a(n) = 2^(1/4*(6*n-3+3*(-1)^n)).
G.f.: x*(1+8*x)/(1-8*x^2).
MATHEMATICA
With[{c=8^Range[0, 15]}, Riffle[c, c]]//Rest (* Harvey P. Dale, Aug 08 2017 *)
PROG
(Magma) [ n le 2 select 7*n-6 else 8*Self(n-2): n in [1..26] ];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Aug 22 2009
STATUS
approved