%I #24 Sep 08 2022 08:45:30
%S 0,1,3,6,10,15,21,28,36,45,55,55,56,58,61,65,70,76,83,91,100,110,110,
%T 111,113,116,120,125,131,138,146,155,165,165,166,168,171,175,180,186,
%U 193,201,210,220,220,221,223,226,230,235,241,248,256,265,275,275,276
%N a(n) = Sum_{k=0..n} (k mod 11) (Partial sums of A010880).
%C Let A be the Hessenberg n X n matrix defined by A[1,j] = j mod 11, A[i,i]:=1, A[i,i-1]=-1. Then, for n >= 1, a(n)=det(A). - _Milan Janjic_, Jan 24 2010
%H Shawn A. Broyles, <a href="/A130489/b130489.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec#order_12">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,0,0,0,0,0,0,1,-1).
%F a(n) = 55*floor(n/11) + A010880(n)*(A010880(n) + 1)/2.
%F G.f.: (Sum_{k=1..10} k*x^k)/((1-x^11)*(1-x)).
%F G.f.: x*(1 - 11*x^10 + 10*x^11)/((1-x^11)*(1-x)^3).
%p seq(coeff(series(x*(1-11*x^10+10*x^11)/((1-x^11)*(1-x)^3), x, n+1), x, n), n = 0 .. 60); # _G. C. Greubel_, Aug 31 2019
%t LinearRecurrence[{1,0,0,0,0,0,0,0,0,0,1,-1}, {0,1,3,6,10,15,21,28,36,45, 55,55}, 60] (* _G. C. Greubel_, Aug 31 2019 *)
%t Accumulate[PadRight[{},80,Range[0,10]]] (* _Harvey P. Dale_, Jul 21 2021 *)
%o (PARI) a(n) = sum(k=0, n, k % 11); \\ _Michel Marcus_, Apr 28 2018
%o (Magma) I:=[0,1,3,6,10,15,21,28,36,45,55,55]; [n le 12 select I[n] else Self(n-1) + Self(n-11) - Self(n-12): n in [1..61]]; // _G. C. Greubel_, Aug 31 2019
%o (Sage)
%o def A130489_list(prec):
%o P.<x> = PowerSeriesRing(ZZ, prec)
%o return P(x*(1-11*x^10+10*x^11)/((1-x^11)*(1-x)^3)).list()
%o A130489_list(60) # _G. C. Greubel_, Aug 31 2019
%o (GAP) a:=[0,1,3,6,10,15,21,28,36,45, 55,55];; for n in [13..61] do a[n]:=a[n-1]+a[n-11]-a[n-12]; od; a; # _G. C. Greubel_, Aug 31 2019
%Y Cf. A010872, A010873, A010874, A010875, A010876, A010877, A010878, A010879, A130481, A130482, A130483, A130484, A130485, A130486, A130487, A130488.
%K nonn
%O 0,3
%A _Hieronymus Fischer_, May 31 2007