A083300 a(n) = (4*7^n + (-3)^n)/5.
1, 5, 41, 269, 1937, 13397, 94265, 658397, 4613153, 32278949, 225992009, 1581825965, 11073136049, 77510889461, 542579414873, 3798046338173, 26586353065025, 186104385361733, 1302730955812457, 9119115915846221
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..300
- Index entries for linear recurrences with constant coefficients, signature (4,21)
Crossrefs
Cf. A083301.
Programs
-
Magma
[(4*7^n+(-3)^n)/5: n in [0..25]]; // Vincenzo Librandi, Jun 01 2011
-
PARI
a(n)=(4*7^n+(-3)^n)/5 \\ Charles R Greathouse IV, Oct 07 2015
Formula
a(n) = (4*7^n + (-3)^n)/5.
G.f.: (1+x)/((1-7*x)*(1+3*x)).
E.g.f.: (4*exp(7*x) + exp(-3*x))/5.
Comments