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!)
A120845 a(n) = 2^n + 3^n + 5*n. 2
2, 10, 23, 50, 117, 300, 823, 2350, 6857, 20240, 60123, 179250, 535597, 1602580, 4799423, 14381750, 43112337, 129271320, 387682723, 1162785850, 3487833077, 10462450460, 31385254023, 94151567550, 282446313817, 847322164000, 2541932937323, 7625731702850, 22877060890557 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (2-4*x-13*x^2+25*x^3)/((1-2*x)*(1-3*x)*(1-x)^2). - Bruno Berselli, Sep 01 2011
a(n) = 7*a(n-1)-17*a(n-2)+17*a(n-3)-6*a(n-4). - Vincenzo Librandi, Feb 26 2013
E.g.f.: exp(x)*(exp(x) + exp(2*x) + 5*x). - Stefano Spezia, May 06 2023
MATHEMATICA
CoefficientList[Series[(2 - 4 x - 13 x^2 + 25 x^3)/((1-2 x) (1-3 x) (1-x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 26 2013 *)
LinearRecurrence[{7, -17, 17, -6}, {2, 10, 23, 50}, 30] (* Harvey P. Dale, Apr 28 2016 *)
PROG
(Magma) I:=[2, 10, 23, 50]; [n le 4 select I[n] else 7*Self(n-1)-17*Self(n-2)+17*Self(n-3)-6*Self(n-4): n in [1..30]]; // Vincenzo Librandi, Feb 26 2013
CROSSREFS
Sequence in context: A255606 A293403 A316451 * A330280 A293412 A224837
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 18 2006
EXTENSIONS
Edited by Ray Chandler, Sep 06 2006
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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)