OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (14,-49).
FORMULA
a(n) = 14*a(n-1) - 49*a(n-2).
G.f.: (1+7*x)/(1-7*x)^2.
a(n) = 7*a(n-1) + 2*7^n. - Vincenzo Librandi, Nov 05 2011
From Amiram Eldar, Dec 10 2022: (Start)
Sum_{n>=0} 1/a(n) = sqrt(7)*arccoth(sqrt(7)).
Sum_{n>=0} (-1)^n/a(n) = sqrt(7)*arccot(sqrt(7)). (End)
E.g.f.: exp(7*x)*(1 + 14*x). - Stefano Spezia, May 09 2023
MATHEMATICA
a[n_] := (2*n + 1)*7^n; Array[a, 25, 0] (* Amiram Eldar, Dec 10 2022 *)
PROG
(Magma) [(2*n+1)*7^n: n in [0..30]]; // Vincenzo Librandi, Nov 05 2011
(PARI) a(n) = (2*n+1)*7^n \\ Amiram Eldar, Dec 10 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Nov 04 2011
EXTENSIONS
a(15) corrected by Vincenzo Librandi, Nov 05 2011
STATUS
approved