# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a339573
Showing 1-1 of 1
%I A339573 #24 Jan 14 2021 07:06:19
%S A339573 0,1,2,4,6,8,11,14,17,21,25,29,34,39,44,50,56,62,69,76,83,91,99,107,
%T A339573 116,125,134,144,154,164,175,186,197,209,221,233,246,259,272,286,300,
%U A339573 314,329,344,359,375,391,407,424,441,458,476,494,512,531,550,569,589,609,629,650,671,692
%N A339573 a(n) = floor(n*(n+1)/6) - 1.
%C A339573 a(n) = A001840(n-1)-1.
%H A339573 Bernhard Ganter, Notes on Integer Partitions, Technische Universität Dresden (2020); See Prop. 3.
%H A339573 Index entries for linear recurrences with constant coefficients, signature (2,-1,1,-2,1).
%F A339573 G.f.: x^3*(-1-x^2+x^3) / ( (1+x+x^2)*(x-1)^3 ). - _R. J. Mathar_, Jan 14 2021
%t A339573 Table[Floor[n (n + 1)/6] - 1, {n, 2, 80}] (* _Robert P. P. McKone_, Dec 19 2020 *)
%o A339573 (Python)
%o A339573 def A339573(n):
%o A339573 return n*(n+1)//6-1 # _Chai Wah Wu_, Dec 10 2020
%Y A339573 Cf. A001840.
%K A339573 nonn,easy
%O A339573 2,3
%A A339573 _N. J. A. Sloane_, Dec 10 2020
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE