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 #20 Sep 08 2022 08:45:07
%S 9,93,390,1110,2535,5019,8988,14940,23445,35145,50754,71058,96915,
%T 129255,169080,217464,275553,344565,425790,520590,630399,756723,
%U 901140,1065300,1250925,1459809,1693818,1954890,2245035,2566335,2920944,3311088,3739065,4207245
%N Sum of numbers that can be written as t*n + u*(n+1) for nonnegative integers t,u in exactly three ways.
%D Fred. Schuh, Vragen betreffende een onbepaalde vergelijking, Nieuw Tijdschrift voor Wiskunde, 52 (1964-1965) 193-198.
%H Vincenzo Librandi, <a href="/A076456/b076456.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) = n*(n+1)*(6*n^2+4*n-1)/2.
%F G.f.: 3*x*(3+16*x+5*x^2)/(1-x)^5.
%p seq(1/2*n*(n+1)*(6*n^2+4*n-1),n=1..40);
%t CoefficientList[Series[3 (3 + 16 x + 5 x^2)/(1 - x)^5, {x, 0, 50}], x] (* _Vincenzo Librandi_, Dec 30 2013 *)
%o (Magma) [n*(n+1)*(6*n^2+4*n-1)/2: n in [1..50]]; // _Vincenzo Librandi_, Dec 30 2013
%Y Cf. A002417, A076454-A076459.
%K nonn,easy
%O 1,1
%A _Floor van Lamoen_, Oct 13 2002