%I #13 Mar 07 2015 14:45:31
%S 1,1,1,2,2,3,4,5,5,6,7,7,8,8,8,8,8,7,7,6,5,5,4,3,2,2,1,1,1,0,0,0,0,0,
%T 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
%U 0,0,0,0,0,0,0,0,0,0,0,0,0
%N Number of partitions of n into distinct parts from [ 1, 7 ].
%C The number of different ways to run up a staircase with 7 steps, taking steps of odd sizes (or taking steps of distinct sizes), where the order is not relevant and there is no other restriction on the number or the size of each step taken is the coefficient of x^7. - _Mohammad K. Azarian_, Aug 22 2010
%D Mohammad K. Azarian, A Generalization of the Climbing Stairs Problem II, Missouri Journal of Mathematical Sciences, Vol. 16, No. 1, Winter 2004, pp. 12-17. Zentralblatt MATH, Zbl 1071.05501. - _Mohammad K. Azarian_, Aug 22 2010
%D Mohammad K. Azarian, A Generalization of the Climbing Stairs Problem, Mathematics and Computer Education, Vol. 31, No. 1, pp. 24-28, Winter 1997. MathEduc Database (Zentralblatt MATH, 1997c.01891). - _Mohammad K. Azarian_, Aug 22 2010
%F Expansion of (1+x)(1+x^2)(1+x^3)...(1+x^7).
%t PadRight[CoefficientList[Series[Times@@Table[1+x^n,{n,7}],{x,0,100}],x],100,0] (* _Harvey P. Dale_, Jul 11 2014 *)
%K nonn
%O 0,4
%A _N. J. A. Sloane_
|