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!)
A220425 a(n) = n^2 + 2*n + 2^n. 8
1, 5, 12, 23, 40, 67, 112, 191, 336, 611, 1144, 2191, 4264, 8387, 16608, 33023, 65824, 131395, 262504, 524687, 1049016, 2097635, 4194832, 8389183, 16777840, 33555107, 67109592, 134218511, 268436296, 536871811, 1073742784, 2147484671, 4294968384, 8589935747 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (x^3-4*x^2+1) / ((x-1)^3*(2*x-1)). - Colin Barker, May 09 2013
E.g.f.: exp(x) * (exp(x) + x*(3 + x)). - Iain Fox, Aug 08 2018
MATHEMATICA
Table[n^2 + 2*n + 2^n, {n, 0, 50}] (* T. D. Noe, Dec 14 2012 *)
PROG
(Maxima) makelist(n^2+2*n+2^n, n, 0, 20); /* Martin Ettl, Dec 15 2012 */
(PARI) a(n)=n^2+2*n+2^n \\ Charles R Greathouse IV, Oct 07 2015
(PARI) first(n) = Vec((1 - 4*x^2 + x^3)/((1 - x)^3 * (1 - 2*x)) + O(x^n)) \\ Iain Fox, Aug 08 2018
CROSSREFS
Sequence in context: A126573 A341209 A000327 * A130624 A344846 A066869
KEYWORD
nonn,easy
AUTHOR
Dario Piazzalunga, Dec 14 2012
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 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)