%I #12 Sep 08 2022 08:45:16
%S 0,1,6,30,100,255,546,1036,1800,2925,4510,6666,9516,13195,17850,23640,
%T 30736,39321,49590,61750,76020,92631,111826,133860,159000,187525,
%U 219726,255906,296380,341475,391530,446896,507936,575025,648550,728910,816516,911791
%N a(n) = n*(n+1)*(n^2-2*n+2)/2.
%D T. A. Gulliver, Sequences from Cubes of Integers, Int. Math. Journal, 4 (2003), 439-445.
%H Vincenzo Librandi, <a href="/A101375/b101375.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (5,-10,10,-5,1).
%F G.f.: x*(1 + x + 10*x^2)/(1 - x)^5. - _Ilya Gutkovskiy_, Feb 24 2017
%o (Magma) [n*(n+1)*(n^2-2*n+2)/2: n in [0..40]]; // _Vincenzo Librandi_, May 26 2011
%o (PARI) a(n)=n*(n+1)*(n^2-2*n+2)/2 \\ _Charles R Greathouse IV_, Feb 24 2017
%K nonn,easy
%O 0,3
%A _N. J. A. Sloane_, Jan 15 2005
|