OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5, -4).
FORMULA
a(n) = 7*2^(2*n+1) - 1.
a(n) = (A199207(n+1) -3)/2 for n>=0.
From G. C. Greubel, Jan 05 2023: (Start)
a(n) = A005009(2*n+1) - 1.
G.f.: (13 - 10*x)/((1-x)*(1-4*x)).
E.g.f.: 14*exp(4*x) - exp(x). (End)
MATHEMATICA
7*2^(2*Range[0, 50]+1)-1 (* G. C. Greubel, Jan 05 2023 *)
PROG
(Magma) [14*4^n-1 : n in [0..30]];
(PARI) a(n)=14*4^n - 1 \\ Charles R Greathouse IV, May 05 2014
(SageMath) [7*2^(2*n+1)-1 for n in range(51)] # G. C. Greubel, Jan 05 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Brad Clardy, Feb 07 2012
STATUS
approved