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 A151961 #44 Dec 21 2022 17:56:49 %S A151961 3,6,21,78,291,1086,4053,15126,56451,210678,786261,2934366,10951203, %T A151961 40870446,152530581,569251878,2124476931,7928655846,29590146453, %U A151961 110431929966,412137573411,1538118363678,5740335881301,21423225161526,79952564764803,298387033897686 %N A151961 Semiperimeter of the n-th Heronian triangle. %C A151961 The side lengths are consecutive integers (A016064) and the area is an integer (A011945). %C A151961 Except for the first term, positive values of x (or y) satisfying x^2 - 4*x*y + y^2 + 27 = 0. - _Colin Barker_, Feb 08 2014 %C A151961 Except for the first term, positive values of x (or y) satisfying x^2 - 14*x*y + y^2 + 432 = 0. - _Colin Barker_, Feb 16 2014 %H A151961 Vincenzo Librandi, <a href="/A151961/b151961.txt">Table of n, a(n) for n = 1..200</a> %H A151961 G. Jacob Martens, <a href="https://arxiv.org/abs/2112.09553">Rational right triangles and the Congruent Number Problem</a>, arXiv:2112.09553 [math.GM], 2021, see section 10.1 The Brahmaguptra triangles, equation (99). %H A151961 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (4,-1). %F A151961 a(n) = 3 * A001075(n-1). - _Joerg Arndt_, Oct 10 2022 %F A151961 a(n) = 3*(A016064(n-1) + 1)/2 = 3*A003500(n-1)/2. - _R. J. Mathar_, Jul 27 2009 %F A151961 From _Colin Barker_, Mar 30 2012: (Start) %F A151961 a(n) = 4*a(n-1) - a(n-2). %F A151961 G.f.: 3*x*(1-2*x)/(1-4*x+x^2). (End) %F A151961 a(n) = 3*( (2+sqrt(3))*(2-sqrt(3))^n + (2-sqrt(3))*(2+sqrt(3))^n )/2. - _Colin Barker_, Oct 12 2015 %t A151961 CoefficientList[Series[3(1-2x)/(1-4x+x^2), {x,0,30}], x] (* _Vincenzo Librandi_, Feb 11 2014 *) %t A151961 3*ChebyshevT[Range[0, 40], 2] (* _G. C. Greubel_, Oct 10 2022 *) %t A151961 LinearRecurrence[{4,-1},{3,6},30] (* _Harvey P. Dale_, Dec 21 2022 *) %o A151961 (Magma) I:=[3,6]; [n le 2 select I[n] else 4*Self(n-1)-Self(n-2): n in [1..30]]; // _Vincenzo Librandi_, Feb 11 2014 %o A151961 (PARI) Vec(3*x*(1-2*x)/(1-4*x+x^2) + O(x^40)) \\ _Colin Barker_, Oct 12 2015 %o A151961 (SageMath) [3*chebyshev_T(n, 2) for n in range(41)] # _G. C. Greubel_, Oct 10 2022 %Y A151961 Cf. A001075, A003500, A011945, A016064. %K A151961 nonn,easy %O A151961 1,1 %A A151961 _Juri-Stepan Gerasimov_, Jul 13 2009 %E A151961 More terms from _R. J. Mathar_, Jul 27 2009