OFFSET
0,1
COMMENTS
Most terms in even positions of A278066 are terms in this sequence.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
a(0) = 7; a(n) = 2*a(n-1) + 19 for n>=1.
G.f.: (12*x+7)/((1-2*x)*(1-x)).
MATHEMATICA
NestList[2#+19&, 7, 30] (* Harvey P. Dale, Aug 08 2021 *)
(* Alternative: *)
LinearRecurrence[{3, -2}, {7, 33}, 30] (* Harvey P. Dale, Aug 08 2021 *)
PROG
(PARI) a(n)=13*2^(n+1)-19 \\ Charles R Greathouse IV, May 28 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Nathan Fox, Nov 13 2016
STATUS
approved
