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!)
A155588 a(n) = 5^n + 2^n - 1^n. 30
1, 6, 28, 132, 640, 3156, 15688, 78252, 390880, 1953636, 9766648, 48830172, 244144720, 1220711316, 6103532008, 30517610892, 152587956160, 762939584196, 3814697527768, 19073486852412, 95367432689200, 476837160300276 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/(1-5*x)+1/(1-2*x)-1/(1-x).
E.g.f.: e^(5*x)+e^(2*x)-e^x.
a(n) = 7*a(n-1)-10*a(n-2)-4 with a(0)=1, a(1)=6. - Vincenzo Librandi, Jul 21 2010
a(n) = A074600(n)-1. - R. J. Mathar, Mar 10 2022
MATHEMATICA
CoefficientList[Series[1/(1 - 5 x) + 1/(1 - 2 x) - 1/(1 - x), {x, 0, 21}], x] (* Michael De Vlieger, Mar 02 2022 *)
PROG
(PARI) a(n)=5^n+2^n-1 \\ Charles R Greathouse IV, Sep 24 2015
CROSSREFS
Sequence in context: A338584 A084778 A287807 * A368574 A208439 A108051
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 24 2009
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 19 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)