OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..830
Index entries for linear recurrences with constant coefficients, signature (21,-84,64).
FORMULA
From Colin Barker, Feb 14 2015: (Start)
a(n) = 1-4^n+16^n.
a(n) = 21*a(n-1)-84*a(n-2)+64*a(n-3).
G.f.: -(52*x^2-8*x+1) / ((x-1)*(4*x-1)*(16*x-1)).
(End)
MAPLE
with(numtheory, cyclotomic):seq(cyclotomic(12, 2^i), i=0..24);
MATHEMATICA
Cyclotomic[12, 2^Range[0, 20]] (* Paolo Xausa, Sep 16 2024 *)
PROG
(PARI) a(n) = polcyclo(12, 2^n) \\ Colin Barker, Feb 14 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved