OFFSET
0,2
COMMENTS
Binomial transform of A024036. - Wesley Ivan Hurt, Apr 04 2014
REFERENCES
P. P. Patwardhan, Discrete Structures, Technical Publications Pune, 2009 (first ed.), Section 4.27.1.2, p. 110 (Example 4.44-i).
LINKS
Ivan Panchenko, Table of n, a(n) for n = 0..200
Feryal Alayont and Evan Henning, Edge Covers of Caterpillars, Cycles with Pendants, and Spider Graphs, J. Int. Seq. (2023) Vol. 26, Art. 23.9.4.
Index entries for linear recurrences with constant coefficients, signature (7,-10).
FORMULA
G.f.: 1/(1-5*x)-1/(1-2*x);
E.g.f.: e^(5*x)-e^(2*x). - Mohammad K. Azarian, Jan 14 2009
a(n) = 7*a(n-1)-10*a(n-2), a(0)=0, a(1)=3. - Vincenzo Librandi, Dec 30 2010
a(n+1) = 3 * A016127(n). - Vladimir Joseph Stephan Orlovsky, Jun 28 2011
MAPLE
MATHEMATICA
Table[5^n - 2^n, {n, 0, 60}] (* Vladimir Joseph Stephan Orlovsky, Jun 27 2011 *)
PROG
(Sage) [5^n - 2^n for n in range(0, 21)] # Zerinvary Lajos, Jun 04 2009
(Magma) [ 5^n-2^n: n in [0..24] ];
(PARI) a(n)=5^n-1<<n \\ Charles R Greathouse IV, Jun 28 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 14 1998
STATUS
approved