This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A011889 #31 Oct 10 2024 05:22:20 %S A011889 0,0,0,0,3,8,17,30,48,72,102,141,188,245,312,390,480,582,699,830,977, %T A011889 1140,1320,1518,1734,1971,2228,2507,2808,3132,3480,3852,4251,4676, %U A011889 5129,5610,6120,6660,7230,7833,8468,9137,9840,10578,11352,12162,13011,13898,14825,15792,16800 %N A011889 a(n) = floor(n*(n-1)*(n-2)/7). %H A011889 Vincenzo Librandi, <a href="/A011889/b011889.txt">Table of n, a(n) for n = 0..1000</a> %H A011889 <a href="/index/Rec#order_10">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1,0,0,0,1,-3,3,-1). %F A011889 From _R. J. Mathar_, Apr 15 2010: (Start) %F A011889 a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) + a(n-7) - 3*a(n-8) + 3*a(n-9) - a(n-10). %F A011889 G.f.: x^4*(3-x+2*x^2+x^4+x^5) / ( (1-x)^4*(1+x+x^2+x^3+x^4+x^5+x^6) ). (End) %t A011889 CoefficientList[Series[x^4*(3-x+2*x^2+x^4+x^5)/((-1+x)^4*(1+x+x^2+x^3+ x^4+x^5+x^6)),{x,0,50}],x] (* _Vincenzo Librandi_ Jul 07 2012 *) %t A011889 Floor[6*Binomial[Range[0,50], 3]/7] (* _G. C. Greubel_, Oct 06 2024 *) %o A011889 (Magma) [Floor(n*(n-1)*(n-2)/7): n in [0..50]]; // _Vincenzo Librandi_, Jul 07 2012 %o A011889 (SageMath) [6*binomial(n,3)//7 for n in range(51)] # _G. C. Greubel_, Oct 06 2024 %Y A011889 Cf. A011886. %K A011889 nonn,easy %O A011889 0,5 %A A011889 _N. J. A. Sloane_