Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #21 Sep 08 2022 08:44:58
%S 1,10,136,379,739,1216,1810,2521,3349,4294,5356,6535,7831,9244,10774,
%T 12421,14185,16066,18064,20179,22411,24760,27226,29809,32509,35326,
%U 38260,41311,44479,47764,51166,54685,58321,62074,65944,69931,74035
%N a(n) = (117*n^2 - 99*n + 2)/2.
%H Vincenzo Librandi, <a href="/A050408/b050408.txt">Table of n, a(n) for n = 0..10000</a>
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F G.f.: (1 + 7*x + 109*x^2)/(1-x)^3. - _R. J. Mathar_, Jul 01 2011
%F E.g.f.: (2 + 18*x + 117*x^2)*exp(x)/2. - _G. C. Greubel_, Oct 30 2019
%p seq((117*n^2-99*n+2)/2, n=0..40); # _G. C. Greubel_, Oct 30 2019
%t Table[(117*n^2-99*n+2)/2, {n,0,40}] (* _G. C. Greubel_, Oct 30 2019 *)
%o (Magma) [117*n^2/2-99*n/2+1: n in [0..45]]; // _Vincenzo Librandi_, Jul 05 2011
%o (PARI) a(n)=117*n^2/2-99*n/2+1 \\ _Charles R Greathouse IV_, Jun 16 2017
%o (Sage) [(117*n^2-99*n+2)/2 for n in (0..40)] # _G. C. Greubel_, Oct 30 2019
%o (GAP) List([0..40], n-> (117*n^2-99*n+2)/2); # _G. C. Greubel_, Oct 30 2019
%K easy,nonn
%O 0,2
%A Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Dec 22 1999