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!)
A128960 a(n) = (n^3 - n)*2^n. 9
0, 24, 192, 960, 3840, 13440, 43008, 129024, 368640, 1013760, 2703360, 7028736, 17891328, 44728320, 110100480, 267386880, 641728512, 1524105216, 3586129920, 8367636480, 19377684480, 44568674304, 101871255552, 231525580800 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Index entries for linear recurrences with constant coefficients, signature (8,-24,32,-16).

FORMULA

G.f.: 24*x^2/(1-2*x)^4. - Vincenzo Librandi, Feb 12 2013

a(n) = 8*a(n-1)-24*a(n-2)+32*a(n-3)-16*a(n-4). - Vincenzo Librandi, Feb 12 2013

MATHEMATICA

CoefficientList[Series[24 x/(1 - 2 x)^4, {x, 0, 30}], x] (* or *) LinearRecurrence[{8, -24, 32, -16}, {0, 24, 192, 960}, 30] (* Vincenzo Librandi, Feb 12 2013 *)

PROG

(MAGMA) [(n^3-n)*2^n: n in [1..25]]; /* or */ I:=[0, 24, 192, 960]; [n le 4 select I[n] else 8*Self(n-1)-24*Self(n-2)+32*Self(n-3)-16*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Feb 12 2013

(PARI) a(n)=(n^3-n)<<n \\ Charles R Greathouse IV, Oct 07 2015

CROSSREFS

Cf. A128796, A036289.

Sequence in context: A241434 A143040 A305166 * A047057 A066406 A271432

Adjacent sequences:  A128957 A128958 A128959 * A128961 A128962 A128963

KEYWORD

nonn,easy

AUTHOR

Mohammad K. Azarian, Apr 28 2007

EXTENSIONS

Offset corrected by Mohammad K. Azarian, Nov 19 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 25 19:00 EST 2022. Contains 350572 sequences. (Running on oeis4.)