# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a026811
Showing 1-1 of 1
%I A026811 #84 Feb 27 2024 10:42:40
%S A026811 0,0,0,0,0,1,1,2,3,5,7,10,13,18,23,30,37,47,57,70,84,101,119,141,164,
%T A026811 192,221,255,291,333,377,427,480,540,603,674,748,831,918,1014,1115,
%U A026811 1226,1342,1469,1602,1747,1898,2062,2233,2418,2611,2818,3034,3266,3507,3765
%N A026811 Number of partitions of n in which the greatest part is 5.
%C A026811 Essentially same as A001401: five zeros followed by A001401.
%C A026811 Also number of partitions of n into exactly 5 parts.
%D A026811 D. E. Knuth, The Art of Computer Programming, vol. 4, fascicle 3, Generating All Combinations and Partitions, Section 7.2.1.4., p. 56, exercise 31.
%H A026811 Washington Bomfim, Table of n, a(n) for n = 0..10000
%H A026811 Index entries for linear recurrences with constant coefficients, signature (1,1,0,0,-1,-1,-1,1,1,1,0,0,-1,-1,1).
%F A026811 a(n) = round( ((n^4+10*(n^3+n^2)-75*n -45*n*(-1)^n)) / 2880 ). - _Washington Bomfim_, Jul 03 2012
%F A026811 G.f.: x^5/((1-x)*(1-x^2)*(1-x^3)*(1-x^4)*(1-x^5)). - _Joerg Arndt_, Jul 04 2012
%F A026811 a(n) = A008284(n,5). - _Robert A. Russell_, May 13 2018
%F A026811 From _Gregory L. Simay_, Jul 28 2019: (Start)
%F A026811 a(2n) = a(2n-1) + a(n+1) + a(n) - a(n-3) - a(n-4);
%F A026811 a(2n+1) = a(2n) + a(n+3) - a(n-5). (End)
%F A026811 From _R. J. Mathar_, Jun 23 2021: (Start)
%F A026811 a(n) - a(n-5) = A001400(n-5).
%F A026811 a(n) - a(n-4) = A008669(n-5).
%F A026811 a(n) - a(n-3) = A029007(n-5).
%F A026811 a(n) - a(n-2) = A029032(n-5).
%F A026811 a(n) = +a(n-1) +a(n-2) -a(n-5) -a(n-6) -a(n-7) +a(n-8) +a(n-9) +a(n-10) -a(n-13) -a(n-14) +a(n-15). (End)
%t A026811 Table[Count[IntegerPartitions[n], {5, ___}], {n, 0, 55}] (* corrected by _Harvey P. Dale_, Oct 24 2011 *)
%t A026811 Table[Length[IntegerPartitions[n, {5}]], {n, 0, 55}] (* _Eric Rowland_, Mar 02 2017 *)
%t A026811 CoefficientList[Series[x^5/Product[1 - x^k, {k, 1, 5}], {x, 0, 65}], x] (* _Robert A. Russell_, May 13 2018 *)
%t A026811 Drop[LinearRecurrence[{1,1,0,0,-1,-1,-1,1,1,1,0,0,-1,-1,1}, Append[Table[0,{14}],1],110],9] (* _Robert A. Russell_, May 17 2018 *)
%o A026811 (PARI)
%o A026811 a(n)=round((n^4+10*(n^3+n^2)-75*n-45*(-1)^n*n)/2880);
%o A026811 for(n=0,10000,print(n," ",a(n))); /* b-file format */
%o A026811 /* _Washington Bomfim_, Jul 03 2012 */
%o A026811 (PARI) x='x+O('x^99); concat(vector(5), Vec(x^5/prod(k=1, 5, 1-x^k))) \\ _Altug Alkan_, May 17 2018
%o A026811 (GAP) List([0..70],n->NrPartitions(n,5)); # _Muniru A Asiru_, May 17 2018
%Y A026811 Cf. A026810, A026812, A026813, A026814, A026815, A026816, A002622 (partial sums), A008667 (first differences).
%K A026811 nonn,easy
%O A026811 0,8
%A A026811 _Clark Kimberling_
%E A026811 More terms from _Robert G. Wilson v_, Jan 11 2002
%E A026811 a(0)=0 inserted by _Joerg Arndt_, Jul 04 2012
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE