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!)
A030110 a(n) = 2^n - n^2 + 1. 2
2, 2, 1, 0, 1, 8, 29, 80, 193, 432, 925, 1928, 3953, 8024, 16189, 32544, 65281, 130784, 261821, 523928, 1048177, 2096712, 4193821, 8388080, 16776641, 33553808, 67108189, 134217000, 268434673, 536870072, 1073740925, 2147482688 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (2-8*x+9*x^2-x^3)/((1-2*x)*(1-x)^3).
a(n) = 5*a(n-1) - 9*a(n-2) + 7*a(n-3) - 2*a(n-4). - Matthew House, Jan 15 2017
MAPLE
A030110:=n->2^n-n^2+1: seq(A030110(n), n=0..50); # Wesley Ivan Hurt, Jan 15 2017
MATHEMATICA
f[n_]:=2^n-n^2+1; f[Range[0, 100]] (* Vladimir Joseph Stephan Orlovsky, Feb 19 2011 *)
CROSSREFS
Sequence in context: A355755 A141335 A133624 * A083570 A287407 A153240
KEYWORD
nonn,easy
AUTHOR
Steve Gray (stevebg(AT)roadrunner.com)
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 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)