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 A239570 #35 May 28 2025 20:00:02 %S A239570 0,1,114,1137,6100,23265,71211,186739,436437,932850,1856305,3483546, %T A239570 6224439,10668112,17640000,28271370,44083006,67084839,99893412, %U A239570 145869175,209275710,295463091,411077689,564300837,765118875,1025627200,1360371051,1786725864,2325320137 %N A239570 Number of ways to place 4 points on a triangular grid of side n so that no two of them are adjacent. %C A239570 Rotations and reflections of placements are counted. If they are to be ignored see A239574. %H A239570 Vincenzo Librandi, <a href="/A239570/b239570.txt">Table of n, a(n) for n = 3..1000</a> %H A239570 <a href="/index/Rec#order_09">Index entries for linear recurrences with constant coefficients</a>, signature (9,-36,84,-126,126,-84,36,-9,1) %F A239570 a(n) = (n-2)*(n-3)*(n^6+9*n^5-39*n^4-353*n^3+950*n^2+4040*n-11904)/384. %F A239570 G.f.: x^4*(38*x^6-156*x^5+153*x^4+113*x^3-147*x^2-105*x-1) / (x-1)^9. - _Colin Barker_, Mar 22 2014 %t A239570 CoefficientList[Series[x (38 x^6 - 156 x^5 + 153 x^4 + 113 x^3 - 147 x^2 - 105 x - 1)/(x - 1)^9, {x, 0, 40}], x] (* _Vincenzo Librandi_, Mar 23 2014 *) %t A239570 LinearRecurrence[{9,-36,84,-126,126,-84,36,-9,1},{0,1,114,1137,6100,23265,71211,186739,436437},30] (* _Harvey P. Dale_, May 28 2025 *) %o A239570 (PARI) concat(0, Vec(x^4*(38*x^6-156*x^5+153*x^4+113*x^3-147*x^2-105*x-1)/(x-1)^9 + O(x^100))) \\ _Colin Barker_, Mar 22 2014 %o A239570 (Magma) [(n^2-5*n+6)*(n^6+9*n^5-39*n^4-353*n^3+950*n^2 +4040*n-11904)/384: n in [3..40]]; // _Vincenzo Librandi_, Mar 23 2014 %Y A239570 Cf. A239567, A239574, A239568 (2 points), A239569 (3 points), A239571 (5 points), A282998 (6 points). %K A239570 nonn,easy %O A239570 3,3 %A A239570 _Heinrich Ludwig_, Mar 22 2014