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!)
A221906 a(n) = 4^n + 4*n. 2
1, 8, 24, 76, 272, 1044, 4120, 16412, 65568, 262180, 1048616, 4194348, 16777264, 67108916, 268435512, 1073741884, 4294967360, 17179869252, 68719476808, 274877907020, 1099511627856, 4398046511188 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1 + 2*x - 15*x^2)/((1-x)^2*(1-4*x)).
a(n) = 6*a(n-1) - 9*a(n-2) + 4*a(n-3).
MATHEMATICA
Table[(4^n + 4 n), {n, 0, 30}] (* or *) CoefficientList[Series[(1 + 2 x - 15 x^2)/((1 - x)^2 (1 - 4 x)), {x, 0, 30}], x]
PROG
(Magma) [4^n + 4*n: n in [0..30]]; /* or */ I:=[1, 8, 24]; [n le 3 select I[n] else 6*Self(n-1)-9*Self(n-2)+4*Self(n-3): n in [1..30]];
CROSSREFS
Sequence in context: A005051 A303402 A078158 * A116486 A179609 A241690
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 02 2013
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 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)