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!)
A240526 a(n) = 2^(n-2)*(2^(n+4)-(-1)^n+13). 1
7, 23, 76, 284, 1072, 4208, 16576, 65984, 262912, 1050368, 4197376, 16784384, 67121152, 268464128, 1073790976, 4295081984, 17180065792, 68719935488, 274878693376, 1099513462784, 4398049656832, 17592193384448, 70368756760576, 281475006070784, 1125899957174272 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (7-5*x-44*x^2)/(1-4*x-4*x^2+16*x^3).
a(n) = 4*a(n-1)+4*a(n-2)-16*a(n-3) for n>2.
MAPLE
A240526:=n->2^(n-2)*(2^(n+4)-(-1)^n+13); seq(A240526(n), n=0..30); # Wesley Ivan Hurt, Apr 10 2014
MATHEMATICA
CoefficientList[Series[(7 - 5 x - 44 x^2)/(1 - 4 x - 4 x^2 + 16 x^3), {x, 0, 30}], x]
PROG
(Magma) [2^(n-2)*(2^(n+4)-(-1)^n+13): n in [0..25]] /* or */ I:=[7, 23, 76]; [n le 3 select I[n] else 4*Self(n-1)+4*Self(n-2)-16*Self(n-3): n in [1..30]];
(PARI) a(n)=(2^(n+4)-(-1)^n+13)<<(n-2) \\ Charles R Greathouse IV, Aug 26 2014
CROSSREFS
Cf. A225826.
Sequence in context: A242496 A356684 A048539 * A018886 A145842 A086908
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 07 2014
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 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)