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 A304833 #17 May 22 2018 08:14:01 %S A304833 12,65,124,189,260,337,420,509,604,705,812,925,1044,1169,1300,1437, %T A304833 1580,1729,1884,2045,2212,2385,2564,2749,2940,3137,3340,3549,3764, %U A304833 3985,4212,4445,4684,4929,5180,5437,5700,5969,6244,6525,6812,7105,7404,7709,8020,8337,8660,8989,9324,9665,10012,10365,10724,11089 %N A304833 a(n) = 3*n^2 + 38*n - 76 (n>=2). %C A304833 For n>=3, a(n) is the second Zagreb index of the Mycielskian of the path graph P[n]. For the Mycielskian, see p. 205 of the West reference and/or the Wikipedia link. %C A304833 The second Zagreb index of a simple connected graph is the sum of the degree products d(i)d(j) over all edges ij of the graph. %C A304833 For n>=3 the M-polynomial of the considered Mycielskian is 2*x^2*y^3 + 4*x^2*y^4 + 2*x^2*y^n + 2*(n-3)*x^3*y^4 + (n-2)*x^3*y^n +(n-3)*x^4*y^4. %D A304833 D. B. West, Introduction to Graph Theory, 2nd ed., Prentice-Hall, NJ, 2001. %H A304833 Colin Barker, <a href="/A304833/b304833.txt">Table of n, a(n) for n = 2..1000</a> %H A304833 E. Deutsch and Sandi Klavzar, <a href="http://dx.doi.org/10.22052/ijmc.2015.10106">M-polynomial and degree-based topological indices</a>, Iranian J. Math. Chemistry, 6, No. 2, 2015, 93-102. %H A304833 Wikipedia, <a href="https://en.wikipedia.org/wiki/Mycielskian">Mycielskian</a> %H A304833 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1). %F A304833 From _Colin Barker_, May 21 2018: (Start) %F A304833 G.f.: x^2*(12 + 29*x - 35*x^2) / (1 - x)^3. %F A304833 a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>4. %F A304833 (End) %p A304833 seq(3*n^2+38*n-76, n = 2 .. 55); %o A304833 (PARI) a(n) = 3*n^2 + 38*n - 76 \\ _Felix Fröhlich_, May 20 2018 %o A304833 (PARI) Vec(x^2*(12 + 29*x - 35*x^2) / (1 - x)^3 + O(x^40)) \\ _Colin Barker_, May 21 2018 %o A304833 (GAP) List([2..60], n->3*n^2+38*n-76); # _Muniru A Asiru_, May 20 2018 %Y A304833 Cf. A304832. %K A304833 nonn,easy %O A304833 2,1 %A A304833 _Emeric Deutsch_, May 20 2018