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 A014628 #31 Oct 09 2020 17:25:39 %S A014628 3,8,20,45,91,168,288,465,715,1056,1508,2093,2835,3760,4896,6273,7923, %T A014628 9880,12180,14861,17963,21528,25600,30225,35451,41328,47908,55245, %U A014628 63395,72416,82368,93313,105315,118440,132756,148333,165243,183560 %N A014628 Number of segments (and sides) created by diagonals of an n-gon in general position. %C A014628 There is a connection to A014626: number of intersection points of diagonals of n-gon, plus number of vertices, b(n) = n*(n+1)*(n^2-7*n+18)/24 and A006522: number of regions created by sides and diagonals of n-gon, c(n) = (n-1)*(n-2)*(n^2-3*n+12)/24. These are related by the Euler-formula: b(n) + c(n) - a(n) = 1. - _Georg Wengler_, Mar 31 2005 %H A014628 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (5,-10,10,-5,1). %F A014628 a(n) = (n^4-6*n^3+17*n^2-24*n)/12 + n; or equally n*(n-1)*(n^2-5*n+12)/12. %F A014628 G.f.: x^3*(3-7*x+10*x^2-5*x^3+x^4)/(1-x)^5. - Maksym Voznyy (voznyy(AT)mail.ru), Aug 10 2009 %F A014628 a(n) = C(n,2) + 2*C(n,4). - _Gary Detlefs_, Jun 06 2010 %t A014628 Table[Binomial[n,2]+2Binomial[n,4],{n,3,50}] (* _Harvey P. Dale_, Oct 03 2020 *) %Y A014628 Cf. A014626, A006522, A134393. %K A014628 nonn,easy %O A014628 3,1 %A A014628 _Mohammad K. Azarian_ %E A014628 G.f. proposed by Maksym Voznyy, checked and corrected by _R. J. Mathar_, Sep 16 2009 %E A014628 More terms from _Erich Friedman_ %E A014628 Offset corrected by _Mohammad K. Azarian_, Nov 19 2008 %E A014628 Offset corrected by _Eric Rowland_, Aug 15 2017