News for hackers. Stuff that matters.
Re:University of Tokyo Graduate School Entrance Exam – Mathe... by piefoot on Thursday March 16, 2017 @05:27PM (#13889369)
Solving 3.1 I think the solution is binomial(n1+r-1,r-1) where n1=n-r, but I obtained that formula by calculating the formula for r=1, then r=2, and the relation f(r,n) = sum(f(r-1,n-i),i,0,n) and using maxima with simpsum and factor to obtain a simplified expression whose form suggest the general rule, but I don't see a simpler way.
Re:University of Tokyo Graduate School Entrance Exam – Mathe... by Smaug123 on Thursday March 16, 2017 @07:28PM (#13890081)
If you want something to Google, the result is completely standard, and it goes by the name of "stars and bars".