cp's OEIS Frontend

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.

A027599 a(n) = 3*n^2 - 7*n + 6.

This page as a plain text file.
%I A027599 #25 Aug 25 2022 05:04:14
%S A027599 6,2,4,12,26,46,72,104,142,186,236,292,354,422,496,576,662,754,852,
%T A027599 956,1066,1182,1304,1432,1566,1706,1852,2004,2162,2326,2496,2672,2854,
%U A027599 3042,3236,3436,3642,3854,4072,4296,4526,4762,5004,5252,5506
%N A027599 a(n) = 3*n^2 - 7*n + 6.
%D A027599 Encyclopaedia Britannica, 1965 ed., Vol. 16 pp. 755-756.
%H A027599 G. C. Greubel, <a href="/A027599/b027599.txt">Table of n, a(n) for n = 0..1000</a>
%H A027599 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F A027599 a(n) = a(n-1) + 6*n - 10 (with a(0)=6). - _Vincenzo Librandi_, Nov 19 2010
%F A027599 From _Colin Barker_, May 22 2012: (Start)
%F A027599 a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
%F A027599 G.f.: 2*(3 - 8*x + 8*x^2)/(1 - x)^3. (End)
%F A027599 E.g.f.: (6 - 4*x + 3*x^2)*exp(x). - _G. C. Greubel_, Aug 24 2022
%t A027599 LinearRecurrence[{3,-3,1}, {6,2,4}, 61] (* _G. C. Greubel_, Aug 24 2022 *)
%o A027599 (PARI) a(n)=3*n^2-7*n+6 \\ _Charles R Greathouse IV_, Jun 17 2017
%o A027599 (Magma) [((6*n-7)^2+23)/12: n in [0..60]]; // _G. C. Greubel_, Aug 24 2022
%o A027599 (SageMath) [3*n^2-7*n+6 for n in (0..60)] # _G. C. Greubel_, Aug 24 2022
%Y A027599 Cf. A049450.
%K A027599 nonn,easy
%O A027599 0,1
%A A027599 _Patrick De Geest_