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!)
A026040 a(n) = dot_product(1,2,...,n)*(4,5,...,n,1,2,3). 4
24, 40, 64, 98, 144, 204, 280, 374, 488, 624, 784, 970, 1184, 1428, 1704, 2014, 2360, 2744, 3168, 3634, 4144, 4700, 5304, 5958, 6664, 7424, 8240, 9114, 10048, 11044, 12104, 13230, 14424, 15688, 17024, 18434, 19920, 21484, 23128, 24854, 26664 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,1
LINKS
FORMULA
a(n) = n(n^2 - 3n + 14)/3 (n >= 4). - Emeric Deutsch, Nov 27 2006
G.f.: x^4*(24 - 56*x + 48*x^2 - 14*x^3)/(1 - x)^4. - Colin Barker, Sep 17 2012
MAPLE
a:=n->n*(n^2-3*n+14)/3: seq(a(n), n=4..50); # Emeric Deutsch, Nov 27 2006
MATHEMATICA
Table[Range[n].RotateLeft[Range[n], 3], {n, 4, 52}] (* T. D. Noe, Nov 07 2006 *)
CoefficientList[Series[(24 - 56 x + 48 x^2 - 14 x^3)/(1 - x)^4, {x, 0, 50}], x] (* Vincenzo Librandi, Oct 17 2013 *)
PROG
(Magma) [n*(n^2-3*n+14)/3: n in [4..50]]; // Vincenzo Librandi, Oct 17 2013
CROSSREFS
Column 3 of triangle A094414.
Sequence in context: A294029 A366675 A195562 * A259217 A211567 A316271
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Corrected by T. D. Noe, Nov 07 2006
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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)