login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A005057 a(n) = 5^n - 2^n. 15
0, 3, 21, 117, 609, 3093, 15561, 77997, 390369, 1952613, 9764601, 48826077, 244136529, 1220694933, 6103499241, 30517545357, 152587825089, 762939322053, 3814697003481, 19073485803837, 95367430592049, 476837156105973, 2384185786821321, 11920928946689517 (list; graph; refs; listen; history; text; internal format)
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
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.
FORMULA
a(n) = A000351(n) - A000079(n). - R. J. Mathar, May 07 2008
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
A005057:=n->5^n - 2^n; seq(A005057(n), n=0..50); # Wesley Ivan Hurt, Apr 04 2014
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
Sequence in context: A183404 A309670 A121140 * A092634 A178537 A084159
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 14 1998
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 05:09 EDT 2024. Contains 371906 sequences. (Running on oeis4.)