This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A051941 Truncated triangular pyramid numbers: a(n)=sum(k*(k+1)/2-30,k=8..n). 1
 6, 21, 46, 82, 130, 191, 266, 356, 462, 585, 726, 886, 1066, 1267, 1490, 1736, 2006, 2301, 2622, 2970, 3346, 3751, 4186, 4652, 5150, 5681, 6246, 6846, 7482, 8155, 8866, 9616, 10406, 11237, 12110, 13026, 13986, 14991, 16042, 17140, 18286, 19481 (list; graph; refs; listen; history; text; internal format)
 OFFSET 8,1 LINKS Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1). FORMULA a(n)=1/6*(n-7)*(n^2+10*n-108) Binomial transform of [6, 15, 10, 1, 0, 0, 0,...]. - Gary W. Adamson, Oct 22 2007 O.g.f.: -x^8*(-6+3*x+2*x^2)/(-1+x)^4. a(n+1)-a(n) = A051940(n+1) . a(n) = 4*a(n-1) -6*a(n-2) +4*a(n-3) -a(n-4)- R. J. Mathar, May 17 2008 MATHEMATICA LinearRecurrence[{4, -6, 4, -1}, {6, 21, 46, 82}, 50] (* Harvey P. Dale, Oct 20 2013 *) PROG (PARI) a(n)=(n-7)*(n^2+10*n-108)/6 \\ Charles R Greathouse IV, Nov 10 2015 CROSSREFS Sequence in context: A081266 A087863 A212656 * A212707 A267370 A213388 Adjacent sequences:  A051938 A051939 A051940 * A051942 A051943 A051944 KEYWORD easy,nice,nonn AUTHOR Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Dec 21 1999 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.

Last modified July 21 04:40 EDT 2019. Contains 325189 sequences. (Running on oeis4.)